Skip to content

Commit 0ea1906

Browse files
committed
Merge pull request #40 from octatone/master
pass through scrollTop in animate - fixes issue 35
2 parents 16655c6 + f95bb86 commit 0ea1906

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dom/animate/animate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ steal('jquery', 'jquery/dom/styles').then(function ($) {
5757
// Negative values not handled the same
5858
|| props[name] < 0
5959
// unit-less value
60-
|| name == 'zIndex' || name == 'z-index'
60+
|| name == 'zIndex' || name == 'z-index' || name == 'scrollTop' || name == 'scrollLeft'
6161
) {
6262
return true;
6363
}

0 commit comments

Comments
 (0)