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

Fix _smoothScrolling state at animateTo animation end #454

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ewanm89
Copy link

@ewanm89 ewanm89 commented Mar 4, 2014

the smooth scroll triggers after the end of the .animateTo() causing a flash as the current scroll point is incorrect in the _smoothScrolling object.

ewan and others added 3 commits February 19, 2014 11:55
Update the state of _smoothScrolling state when animateTo animation ends
so that the smooth scroll doesn't trigger on the next render loop.
Apparently the _instance.getScrollTop() doesn't always return the right
value so switched to renderTop.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant