th3rdwave / react-native-safe-area-context

A flexible way to handle safe area insets in JS. Also works on Android and Web!
MIT License
2.08k stars 191 forks source link

useSafeAreaInsets is not working well in iOS 17.0 #435

Closed Loh0809 closed 9 months ago

Loh0809 commented 9 months ago

I am using useSafeAreaInsets hook but it seems to be not working well in the latest iOS OS, 17.0. The safeAreaInsets.top is 59 but safeAreaInsets.bottom is 0 instead of 34, can you check on it?

jacobp100 commented 9 months ago

Did you validate this with a blank project that only contains the provider and the hook?

Loh0809 commented 9 months ago

Hrmm...checked, the issue will only occurred when using this dependency with the [react-native-screenshot-prevent] dependency.

jacobp100 commented 9 months ago

Alright. I’ll close this because it doesn’t look like there’s anything actionable but if you do find more information do leave a comment