rgommezz / react-native-scroll-bottom-sheet

Cross platform scrollable bottom sheet with virtualisation support, native animations at 60 FPS and fully implemented in JS land :fire:
MIT License
1.54k stars 64 forks source link

Panel freezes with dynamic FlatList #60

Open saransh-malik opened 3 years ago

saransh-malik commented 3 years ago

Current Behavior

Expected Behavior

The panel should just behave normally and automatically adjust with change in content.

How to reproduce

Just use a flatlist and then change the list items dynamically and you would encounter the issue.

Your Environment

version
Platform (Android, iOS or both)
react-native-scroll-bottom-sheet 0.7.0
react-native 0.63.0
react-native-gesture-handler 1.6.1
react-native-reanimated 1.9.0
saransh-malik commented 3 years ago

@rgommezz It would be very helpful if you get a chance to point me out in the right direction of what could cause this issue. Thank you in advance

zuhairnaqi commented 3 years ago

In my case, the app is getting crash. when dynamic content is being loaded