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

Pull useAnimatedScrollHandler back up #1858

Merged
merged 2 commits into from
Nov 9, 2023
Merged

Pull useAnimatedScrollHandler back up #1858

merged 2 commits into from
Nov 9, 2023

Conversation

gaearon
Copy link
Collaborator

@gaearon gaearon commented Nov 9, 2023

Reverts #1827 in favor of a simpler fix, which I need anyway for something else.

The fix is just to only pass a "real" onScroll handler to the current page. We only want to listen to the current page's scroll.

Test Plan

Verified the pager works like before on iOS and Android.

@gaearon gaearon requested a review from pfrazee November 9, 2023 23:42
@gaearon gaearon merged commit 487d871 into main Nov 9, 2023
4 checks passed
@gaearon gaearon deleted the pager-scroll branch November 9, 2023 23:47
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.

2 participants