Skip to content
This repository has been archived by the owner on Jun 9, 2022. It is now read-only.

Scroll events do not fire during fling or bounce #95

Open
apaleslimghost opened this issue Mar 20, 2015 · 2 comments
Open

Scroll events do not fire during fling or bounce #95

apaleslimghost opened this issue Mar 20, 2015 · 2 comments

Comments

@apaleslimghost
Copy link

It seems that scroll events do not fire during a momentum fling, or while bouncing back. They do fire after the fling/bounce, and while a bounce is on the way "out".

@apaleslimghost
Copy link
Author

Ah, _snapScroll and _flingScroll are calling _setAxisPosition directly, but the scroll event is fired from _scheduleRender. Should the scroll event move into there? Or could there be a separate event for just any position change?

@ChristopherMeek
Copy link

Just moving it wont help, as the fling seems to be done via a transform. It may need some kind of setInterval for flings and bounces to have the scroll event called.

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

2 participants