[v4] Keyboard handling brakes the snap position on dismiss
See original GitHub issueBug
When dismissing the keyboard in a list by dragging it down (keyboardDismissMode
), if during the dismiss the sheet is dragged back (the interaction is not stoped during the whole process) to the top it is snaped to a non-existing snap point and results in a broken interaction. The expected correct behavior is to snap back to the previous snap point.
Environment info
Library | Version |
---|---|
@gorhom/bottom-sheet | 4.0.0-alpha.28 |
Steps To Reproduce
While the keyboard is opened, drag the bottom sheet to the bottom to dismiss the keyboard. While keeping the gesture active drag the sheet to the top.
https://user-images.githubusercontent.com/5794620/129932293-c7162fa1-6f53-4d96-9b64-9287527637ad.MP4
Describe what you expected to happen:
After the keyboard is dismissed the bottom sheet should snap back to the previous position.
Reproducible sample code
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
How To Release The Electric Park Brake With NO ... - YouTube
The BEST way to retract electric brake calipers should you not have the scan tool required. In this video I use this method...
Read more >Get Your Brake Levers Super Dialed! / Mechanic Mondays - EP2
In this episode I go over the pro way of setting up the position of your brake levers by a While often overlooked,...
Read more >How to replace the rear brakes on a VW CC with ... - YouTube
Here are some of the tools that jimthecarguy useshttps://www.amazon.com/shop/jimthecarguyIn this video I will show you how to replace the ...
Read more >Key commands for Global Commands in Logic Pro
Key commands for Global Commands in Logic Pro ; Discard Recording and Return to Last Play Position. Command-Period (.) ; Capture as Recording....
Read more >Controls and configuration - Rigs of Rods Documentation
Some vehicles use ALT+F4 as a command, which closes the game window. To avoid this press F4 then ALT. Some laptops require you...
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
I’ve debugged the values and seems like the keyboardHeightInContainer gets the value of the hidden state while it seems to me it should use the previous value of the open state.
This issue was closed because it has been stalled for 5 days with no activity.