Allow skipping smooth scrolling when using setScrollTop #149

Closed
Prinzhorn opened this Issue Feb 24, 2013 · 0 comments

1 participant

@Prinzhorn
Owner

setScrollTop should get a second argument smoothScroll which is true by default (current behaviour) and can be set to false. Because sometimes you want to jump to a new position without any animation at all.

@Prinzhorn Prinzhorn added a commit that closed this issue Feb 24, 2013
@Prinzhorn Added a second parameter to setScrollTop. Fixes #149
The second parameter `force` can be set to true if no transition is desired.
Skrollr will then jump straight to the new position.
a82abf2
@Prinzhorn Prinzhorn closed this in a82abf2 Feb 24, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment