react-native-bottom-sheet
react-native-bottom-sheet copied to clipboard
[v4] Delay on BottomSheetModal dimiss
Bug
I am using BottomSheetModal and BottomSheetFlatList within it. If the list has many item rendered, there is certain delay while dismissing the modal. But when few items are in the list then the dismissing works fine.
Environment info
Library | Version |
---|---|
@gorhom/bottom-sheet | 4.6.1 |
react-native | 0.71.4 |
react-native-reanimated | 3.3.0 |
react-native-gesture-handler | 2.9.0 |
Steps To Reproduce
- Setup BottomSheetModal with BottomSheetFlatList within it
- Populate BottomSheetFlatlist with around 400 items
- Present the modal and again dismiss it programatically
bottomSheetRef.current?.ref?.dismiss();
Describe what you expected to happen:
- The BottomSheetModal start dismissing right after clicking dismiss
@KhimGurung: hello! :wave:
This issue is being automatically closed because it does not follow the issue template.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed because it has been stalled for 5 days with no activity.
@KhimGurung have you managed to overcome this issue?