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] | [v2] Centering detached modals

See original GitHub issue

Bug

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

  1. Follow steps in documentation for using a detached BottomSheetModal
  2. Notice that snapPoints are required and that the modal is not centered

Describe what you expected to happen:

  1. snapPoints would no longer be required (because modals don’t need to be expandable)
  2. The modal would automatically be centered on the screen

Reproducible sample code

N/A

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:6
  • Comments:10

github_iconTop GitHub Comments

1reaction
joseortiz9commented, Sep 26, 2022

any update on this? 😦

0reactions
github-actions[bot]commented, Dec 17, 2022

This issue was closed because it has been stalled for 5 days with no activity.

Read more comments on GitHub >

github_iconTop 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 >

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