Flat list with dynamic items in BottomSheet freezes out #1361
Unanswered
saransh-malik
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am looking to build a bottomsheet kind of drawer which can be dragged to top and has a flatlist in it that can be scrolled. Now with the Flatlist we have dynamic items, which can be filtered by a search bar and this is a strange behaviour I encountered that if you scroll to the bottom come back up and then search for a text that makes the list empty, the bottomsheet just stops responding to the drag all together and won't work at all. While if the list is empty from the start it just works perfectly fine. Can anyone guide me on what is wrong here, I am using the exmaples of RNGH BottomSheet. It would be really great if someone could point me in the right direction on why this is happening and what could be a possible fix for this.
Attached is a video of the behavior
Code:
Screen.Recording.2021-02-13.at.2.24.04.PM.mov
Beta Was this translation helpful? Give feedback.
All reactions