Issue with ViewableItem index and renderItem index #736
Unanswered
Paolo-Gambardella
asked this question in
Q&A
Replies: 3 comments 1 reply
-
Hey @Paolo-Gambardella - have you found a solution there? I'm having exactly the same problem. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Try to put it within the extraData prop of the list.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Source code and some |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Current behavior
Im building a tiktok feed like. All my items are fullscreen and i want to autoplay my video when my items are viewable. I have a first version with a FlatList that work perfectly but with Flashlist it doesn't. Why ? It seems that flashlist is rendering 2 items in the same time and my component can't know if he can play the video because the index is never the same as the viewableItem index
Expected behavior
To be able to run my video whenever an item is viewable
To Reproduce
Platform:
Environment
1.4.1
Beta Was this translation helpful? Give feedback.
All reactions