Skip to content
This repository has been archived by the owner on Nov 7, 2018. It is now read-only.

scrollToTop and scrollTo(x,y) while scroll in progress #92

Open
ghenry22 opened this issue Jan 23, 2017 · 1 comment
Open

scrollToTop and scrollTo(x,y) while scroll in progress #92

ghenry22 opened this issue Jan 23, 2017 · 1 comment

Comments

@ghenry22
Copy link

ghenry22 commented Jan 23, 2017

Problem:

Calling scrollToTop or scrollTo(x,y) while the list is still scrolling does nothing. Second call to the function will execute the scroll. If you wait for the list to stop scrolling on it's own then it works as expected.

Expected Behaviour:

If ScrollToTop or ScrollTo(x,y) is called while the list is scrolling. scrolling stops and list scrolls to the selected target.

@ghenry22
Copy link
Author

Actually on further testing the first time I press the scroll to top button it will stop the current scroll action, if I push it again it will then scroll to top. What it should do is stop any in progress scroll and then scroll to top or whatever dimensions are requested with scroll to.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant