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

Scroll Multiple Items at Once in FlashList on Long Scroll #1542

Closed
Abdealiofficewala opened this issue Feb 27, 2025 · 2 comments
Closed

Scroll Multiple Items at Once in FlashList on Long Scroll #1542

Abdealiofficewala opened this issue Feb 27, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@Abdealiofficewala
Copy link

Current behavior

I’m facing an issue with scrolling in FlashList. When I scroll long, 2-3 or more videos scroll at once. I want to restrict the scrolling so that only one video scrolls at a time. I’m using the onViewableItemsChanged method to manage the scroll.

Expected behavior

My expected behavior is that I want only one video to scroll at a time, regardless of whether the user scrolls long or short. I need to ensure that each scroll action moves only one video at a time

To Reproduce

Platform:

  • [✅] iOS
  • [✅] Android

Environment

x.y.z

@Abdealiofficewala Abdealiofficewala added the bug Something isn't working label Feb 27, 2025
@yenilmezDev
Copy link

Hi, have you tried set disableIntervalMomentum prop ?

@Abdealiofficewala
Copy link
Author

Abdealiofficewala commented Mar 5, 2025

Thanks to @yenilmezDev, with a few more adjustments, the single scroll is now working 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants