[v4] | [v2] Centering detached modals
See original GitHub issueBug
Detached modals still require snap points and default to the bottom of the screen despite the common pattern not being draggable and being centered on screen.
Environment info
Library | Version |
---|---|
@gorhom/bottom-sheet | 4.4.3 |
react-native | 0.68.2 |
react-native-reanimated | 2.8.0 |
react-native-gesture-handler | 2.2.1 |
Steps To Reproduce
- Follow steps in documentation for using a detached
BottomSheetModal
- Notice that
snapPoints
are required and that the modal is not centered
Describe what you expected to happen:
snapPoints
would no longer be required (because modals don’t need to be expandable)- The modal would automatically be centered on the screen
Reproducible sample code
N/A
Issue Analytics
- State:
- Created a year ago
- Reactions:6
- Comments:10
Top Results From Across the Web
How to do Modal Bootstrap appear on bottom - Stack Overflow
Modal is supposed to be detached, like new window. Proper div + styling should be enough.Or maybe just use tooltips ? – Dawid...
Read more >How to detach modal dialogs from main window? Popup ...
I found a much easier solution. Actually you can configure it with the GNOME Tweaks (previously known as "GNOME Tweak Tool"): "Attached model...
Read more >Revit How To Detach From Central - YouTube
Learn autodesk revit basic tutorial for beginner how to detach file from central model#revit#howto#bim.
Read more >Functional recovery after macula involving retinal detachment ...
To introduce an ETDRS grid-based classification for macula involving retinal detachment (MIRD) with or without center (foveal) involvement ...
Read more >ZK Component Reference/Containers/Window - Documentation
1 Window; 2 Employement/Purpose; 3 Example; 4 Window Modes ... Once the last modal is dismissed (invisible or detached), the previous modal window...
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 Free
Top 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
any update on this? 😦
This issue was closed because it has been stalled for 5 days with no activity.