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

SafeAreaProvider doesn't render content on Android if the view remounts

Open satya164 opened this issue 6 years ago • 4 comments

When the view containing the SafeAreaProvider remounts, the content isn't rendered. Repro: https://snack.expo.io/@satya164/safe-area-bug

It works on iOS and Web. Because of this issue, it's not possible to use React Navigation 5 on Snack right now :(

satya164 avatar Oct 28 '19 19:10 satya164

Having the same issue. @satya164 found any workarounds for this?

snicro avatar Mar 06 '20 15:03 snicro

@satya164 Do you know if this is still an issue?

janicduplessis avatar May 26 '20 18:05 janicduplessis

It only happened on snack so I can't check until expo includes it :<

satya164 avatar May 27 '20 00:05 satya164

Seems to still be an issue. On Android our app never leaves the SplashScreen when we add a SafeAreaProvider.

We thus add the SafeAreaProvider only on ios, and it works for now.

VictorBaron avatar Jan 12 '21 11:01 VictorBaron

This is for v3 of the library, and we're on v4. Please re-open a new issue if you're still facing issues

jacobp100 avatar Jan 19 '23 16:01 jacobp100