lodev09 / react-native-true-sheet

The true native bottom sheet experience 💩
https://sheet.lodev09.com
MIT License
394 stars 12 forks source link

Support safe area on iOS #63

Closed gtokman closed 2 months ago

gtokman commented 2 months ago

It would be helpful to support safe area on iOS. It's hard to get the content to do so without setting padding everywhere.

docs: https://developer.apple.com/documentation/uikit/uiview/positioning_content_relative_to_the_safe_area

lodev09 commented 2 months ago

Yeah it does support safe area natively.. however, I intentionally opt-out with it for consistency. RN itself doesn't support safe area so I feel like it's the dev's responsibility to implement it.

Some users want Safe Area but some might not. This keeps the library flexible and extendable .