[v4] `BottomSheet` opens by itself on Android.
See original GitHub issueBug
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
- Place a
<TextInput />
and<BottomSheet index={-1} />
. - Tap “TextInput” to open the keyboard and enter the any text.
- After typing, wait about three seconds and then close the keyboard.
- BottomSheet will open.
Describe what you expected to happen:
- 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:
- Created 2 years ago
- Reactions:3
- Comments:9
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is issue is still relevant guys, though couldn’t reproduce it on my OnePlus 8 pro device 😕
@swikars1 Yes it works but our app’s UI/UX is heavily dependent on “adjustResize”, is there any alternative?