react-native-safe-area-context icon indicating copy to clipboard operation
react-native-safe-area-context copied to clipboard

how to disable bottom safe area in some pages

Open byteab opened this issue 5 years ago • 3 comments

I have some pages with react navigation 5. I need to disable bottom safeArea in some pages. how can I achieve that ? in pages that have bottom tab bar I need safeArea but in pages that don't have I need to disable it.

byteab avatar Sep 11 '20 12:09 byteab

It could be helpful:

https://github.com/th3rdwave/react-native-safe-area-context/issues/107#issuecomment-652616230

ajaykumar97 avatar Oct 22 '20 07:10 ajaykumar97

any solution?

MkNiloufar avatar Oct 30 '21 08:10 MkNiloufar

Found the solution. You can wrap your specific page inside Modal and it ignores the safe area

MkNiloufar avatar Oct 30 '21 09:10 MkNiloufar

We support the edges prop. If the library you're using doesn't, open an issue with them

jacobp100 avatar Jan 19 '23 16:01 jacobp100