Replies: 4 comments 11 replies
-
Also looking for an answer to this. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Still looking for ways |
Beta Was this translation helpful? Give feedback.
-
I ended up using react-native-modalize and pass the button as a HeaderComponent |
Beta Was this translation helpful? Give feedback.
-
If anyone is curious on how to do this, I was able to use the animatedPostition prop on the bottom sheet! Just create an animated view and a shared value to store it, then you can connect the position of the bottom sheet to the position of your view. const bottomSheetPosition = useSharedValue<number>(0);
<Animated.View style={{ top: bottomSheetPosition }} />
<BottomSheet animatedPosition={bottomSheetPosition} /> |
Beta Was this translation helpful? Give feedback.
-
Is there a way to actually get the height of the bottom sheet? I can't find any examples nor solutions. It seems like it's impossible but maybe I'm missing something.
Why am I asking... Beneath my bottom sheet there are few buttons I need to be always visible. The Idea is to dynamically animate their position based on BS height. But no luck so far.
In the docs there is a small animated gif with the cloud icon above the bottom sheet. I wanted to have something similar. Buttons stay on map, but when BS is open they swipe up along with BS.
Beta Was this translation helpful? Give feedback.
All reactions