-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
onMomentumEnd function not firing in Animated FlashList on Android when using ref.current.scrollToIndex #6605
Comments
This is also happening when using FlatList and only on Android. |
Probably related to these issues and pull requests: |
Thanks - I have looked through those but still doesn't seem like there is a fix @tomekzaw I can see from previous PR's/issues that you were working on this previously. Do you happen to have a workaround for this issue? Thank you! |
Hi @DOPAgyeman, nope, unfortunately I don't have a workaround for this. |
Seems this will be resolved upstream in React Native (see this comment and related PR). |
Great - thank you! |
Description
This issue is still occurring as mentioned by @tomekzaw in a previous issue. The 'onMomentumEnd' function fires with a drag move, but not when scrolling using a ref (e.g ref.current.scrollToIndex)
Is there any workaround for this?
Originally posted by @hirbod in #3948 (comment)
Steps to reproduce
Snack or a link to a repository
https://snack.expo.dev/@kofiagyeman/onmomentumend-issue
Reanimated version
3.15.0
React Native version
0.74.5
Platforms
Android
The text was updated successfully, but these errors were encountered: