react-native-bottom-sheet icon indicating copy to clipboard operation
react-native-bottom-sheet copied to clipboard

[v4] Delay on BottomSheetModal dimiss

Open KhimGurung opened this issue 10 months ago • 1 comments

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

  1. Setup BottomSheetModal with BottomSheetFlatList within it
  2. Populate BottomSheetFlatlist with around 400 items
  3. Present the modal and again dismiss it programatically bottomSheetRef.current?.ref?.dismiss();

Describe what you expected to happen:

  1. The BottomSheetModal start dismissing right after clicking dismiss

KhimGurung avatar Apr 23 '24 20:04 KhimGurung

@KhimGurung: hello! :wave:

This issue is being automatically closed because it does not follow the issue template.

github-actions[bot] avatar Apr 23 '24 20:04 github-actions[bot]

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.

github-actions[bot] avatar May 24 '24 09:05 github-actions[bot]

This issue was closed because it has been stalled for 5 days with no activity.

github-actions[bot] avatar May 30 '24 09:05 github-actions[bot]

@KhimGurung have you managed to overcome this issue?

gottfriedaniel avatar Aug 08 '24 12:08 gottfriedaniel