Skip to content

Commit 02bede5

Browse files
authored
Merge pull request #41 from Zauberfisch/patch-1
Fixed animationProperty for scrollLeft
2 parents 2270d21 + 0f017ee commit 02bede5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AnimatedScroll.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export default class AnimatedScroll {
7676
this.stopTop();
7777
} else {
7878
elementProperty = 'scrollLeft';
79-
animationProperty = 'topAnimation';
79+
animationProperty = 'leftAnimation';
8080

8181
this.stopLeft();
8282
}

0 commit comments

Comments
 (0)