question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[v4] `BottomSheet` opens by itself on Android.

See original GitHub issue

Bug

Environment info

Library Version
@gorhom/bottom-sheet 4.1.4
react-native 0.64.3
react-native-reanimated 2.2.4
react-native-gesture-handler 1.10.3

Steps To Reproduce

react-native-bottom-sheet-v4_1_4-bug-report_1

  1. Place a <TextInput /> and <BottomSheet index={-1} />.
  2. Tap “TextInput” to open the keyboard and enter the any text.
  3. After typing, wait about three seconds and then close the keyboard.
  4. BottomSheet will open.

Describe what you expected to happen:

  1. Bottom sheet does not open when keyboard is closed.

Reproducible sample code

https://snack.expo.io/@proudust/react-native-bottom-sheet-v4_1_4-bug-report

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:9

github_iconTop GitHub Comments

5reactions
vanGalileacommented, May 13, 2022

This is issue is still relevant guys, though couldn’t reproduce it on my OnePlus 8 pro device 😕

4reactions
kdenzcommented, Dec 9, 2021

@swikars1 Yes it works but our app’s UI/UX is heavily dependent on “adjustResize”, is there any alternative?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bottom sheet stays on screen when activity is recreated
This is a full Kotlin activity trying to achieve the behavior. I have tested it by closing the application (leaving the application running...
Read more >
Troubleshooting | React Native Bottom Sheet - GitHub Pages
Troubleshooting. This section attempts to outline issues that users frequently encounter when first getting accustomed to using React Native Bottom Sheet.
Read more >
BottomSheetBehavior - Android Developers
An interaction behavior plugin for a child view of CoordinatorLayout to make it work as a bottom sheet. To send useful accessibility events, ......
Read more >
Android Bottom Sheet / Bottom Sheet Behavior - Droid By Me
Android Bottom Sheet is a component that slides up from the bottom of the screen having multiple options. Here are the examples of...
Read more >
Modal Bottom sheet in android jetpack compose
We will be using the ModalBottomSheetLayout( ) function which is provided to us by android itself. It takes two arguments.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found