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 onMomentumScrollEnd called twice #117

Merged
merged 1 commit into from
Aug 1, 2021

Conversation

pdpino
Copy link
Collaborator

@pdpino pdpino commented Jun 29, 2021

Fixes #109

  • react-native bug affecting 0.64.0, VirtualizedList calls onMomentumScrollEnd more than once sometimes
  • This PR is a workaround, the callback gets called only once

@hoangnm
Copy link
Owner

hoangnm commented Aug 1, 2021

Thanks @pdpino , LGTM.

@hoangnm hoangnm merged commit b0c8f7f into hoangnm:master Aug 1, 2021
@pdpino pdpino deleted the bug/scroll-twice branch August 1, 2021 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

onSwipeNext / onSwipePrev its called twice
2 participants