Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v4] Delay on BottomSheetModal dimiss #1812

Open
KhimGurung opened this issue Apr 23, 2024 · 2 comments
Open

[v4] Delay on BottomSheetModal dimiss #1812

KhimGurung opened this issue Apr 23, 2024 · 2 comments
Labels
bug Something isn't working no-issue-activity

Comments

@KhimGurung
Copy link

KhimGurung commented Apr 23, 2024

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 KhimGurung added the bug Something isn't working label Apr 23, 2024
Copy link

@KhimGurung: hello! 👋

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

Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working no-issue-activity
Projects
None yet
Development

No branches or pull requests

1 participant