You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@HenrikZabel We hardcoded the top inset value, as most Android status bars are about 24px tall, this was not the best solution but was sufficient enough for our use-case.
I Just tested this with react-native-safe-area-context version 4.0.1 and it seems, that I am reliably getting top inset value every time, so I guess its time to do this the proper way :)
One major change we did, since I reported this bug, was to use @react-navigation/stack instead of @react-navigation/native-stack, you could give this a try if you are experiencing this bug even on the latest version of react-native-safe-area-context
Translucent StatusBar causes useSafeAreaInsets to return incorect values causing flicker
reprepo with bug example:
https://github.com/vasafix/translucent-status-bar-bug
video example:
react-native: 0.67.1
react-native-safe-area-context: 3.3.2
The text was updated successfully, but these errors were encountered: