Stopping scroll if user or other system scrolls screen mid-smooth scroll#34
Stopping scroll if user or other system scrolls screen mid-smooth scroll#34stephan-nordnes-eriksen wants to merge 2 commits intoiamdustan:masterfrom
Conversation
Cancelling scroll if user, or other system, changes the scroll position mid-scroll.
|
Note; There are two things I am not sure I did right, so if someone with a bit better understanding of this library could check, that would be great. 1I am monitoring the 2I am checking |
|
Interesting: I also found that the method |
|
I agree that scrolling should be stopped if scroll function has been called again. |
This fix checks if a user, or some other system, has changed the scroll position during the ongoing scroll, and if so, stops the current smooth scroll.
I am not 100% sure if this is the specified behaviour for the smooth scroll, but it makes sense to me.