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] | [v2] Bottomsheet background/backdrop shown, but modal does not show up. #1404

Closed
gnair03 opened this issue Jun 16, 2023 · 1 comment
Closed
Labels

Comments

@gnair03
Copy link

gnair03 commented Jun 16, 2023

Bug

I am using :
React-native 0.69.1
Reanimated: 3.3.0
Gorhom bottomsheet: 4.4.7

There is an intermittent issue that I have been facing on Android, ever since we upgraded our library versions to the above mentioned ones. Sometimes (on some devices) the Gorhom bottomsheets dont show up, meaning the fullscreen transparent overlay behind the actual modal is visible but the actual bottomsheet content is not. It does not come up. The app behaves like the bottomsheet would open, renders the backdrop but does not render the bottomsheet content.

Why is this happening? Any ideas? How do I fix this?

Environment info

Library Version
@gorhom/bottom-sheet 4.4.7
react-native 0.69.1
react-native-reanimated 3.3.0
react-native-gesture-handler 2.7.1

Steps To Reproduce

  1. On an android device (was testing on Android 11 and above), press any button to open a Gorhom bottomsheet
  2. Sometimes, the backdrop is rendered, screen goes grey, but the modal does not show up.
  3. Back button click dismisses the backdrop (like when you dismiss the bottomsheet) as expected
  4. This is intermittent. Happened 6/10 times on OnePlus devices - 9pro/11R

Describe what you expected to happen:

  1. The bottomsheet content should have shown up, not just its backdrop
@gnair03 gnair03 added the bug Something isn't working label Jun 16, 2023
@github-actions
Copy link

@gnair03: hello! 👋

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant