Replies: 1 comment 1 reply
-
Did you ever end up finding a solution to achieve this? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Context
I’d like to create a detached bottom sheet. One that does not stick to the bottom of the screen, but instead floats with some distance from it. Here's a visual example of what I mean:
What I've Tried
marginBottom
I tried applying
marginBottom
to bothstyle
andcontentContainerStyle
, but this had no visible effect.backgroundColor="transparent"
I also tried setting the sheet background to transparent, and wrapping content inside a child view with
marginBottom
. This somewhat simulates the behavior, but the default shadow of the sheet still persist. Even with an empty sheet and full transparency, the shadow remains:Feature Request
It would be great to have a built-in
detached
prop, similar to the one in Gorhom’s Bottom Sheet, which adds the ability to have some space from the bottom.Additionally, providing customization options for the sheet’s shadow would enable developers to implement floating or non-standard layouts more easily.
Beta Was this translation helpful? Give feedback.
All reactions