Closed ha3 closed 9 months ago
@ha3 I see that this hook has a isStatusBarTranslucentAndroid
option, did you set it to true
? https://github.com/software-mansion/react-native-reanimated/blob/main/src/reanimated2/hook/useAnimatedKeyboard.ts#L22C40-L22C69
It appears that reanimated is overriding the view margins when this is not set, this is not related to this library.
Oops, I've totally missed that 🤦♂️. Thank you!
Bug summary
The status bar loses its transparency when navigated to a screen that uses
useAnimatedKeyboard
fromreact-native-reanimated
. Disabling keyboard handling during initialization ofRNBars
doesn't help either.Library version
2.4.3
Environment info
Steps to reproduce
useAnimatedKeyboard
hookReproducible sample code
MainActivity.kt
Screen.tsx