ammarahm-ed / react-native-actions-sheet

A Cross Platform(Android, iOS & Web) ActionSheet with a flexible api, native performance and zero dependency code for react native. Create anything you want inside ActionSheet.
https://rnas.vercel.app
MIT License
1.41k stars 119 forks source link

Action sheet does not show 100% of the screen size. #336

Closed KristoT closed 5 months ago

KristoT commented 5 months ago

https://github.com/ammarahm-ed/react-native-actions-sheet/assets/90896880/3dd95509-86aa-4a03-81fa-7534da858c8f

seems that the action sheet does not take 100% of the screen height and i'm using it on the screen without any wrappers, just the action sheet. Have tried different snap points and the result is the same.

this is my current deps versions:

"react-native-gesture-handler": "~2.12.0", "react-native": "0.72.6", "expo": "^49.0.21",

akuul commented 5 months ago

Action sheet adjusts to content size. You can use useBottomSafeAreaPadding to add the bottom insets or flex:1 on containerStyles if you want to make it full screen height.