Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug that onScrollStop may not be called after imperative scrolling #288

Merged
merged 1 commit into from
Dec 16, 2023

Conversation

inokawa
Copy link
Owner

@inokawa inokawa commented Dec 15, 2023

Scroll direcion detection was improved in #255. However it also made onScrollStop unstable after imperative scrolling.

This PR changes onScrollStop to subscribe the store similar to onScroll, to make it more reliable.

@inokawa inokawa changed the title Improve scroll stop detection after imperative scrolling Fix bug that onScrollStop may not be called after imperative scrolling Dec 16, 2023
@inokawa inokawa marked this pull request as ready for review December 16, 2023 12:08
@inokawa inokawa merged commit 3fe9f9f into main Dec 16, 2023
2 checks passed
@inokawa inokawa deleted the store-on-scroll branch December 16, 2023 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant