[Android] useAnimatedKeyboard hook breaks translucent status bar #4277
Labels
Needs review
Issue is ready to be reviewed by a maintainer
Platform: Android
This issue is specific to Android
Repro provided
A reproduction with a snippet of code, snack or repo is provided
Uh oh!
There was an error while loading. Please reload this page.
Description
I have a translucent StatusBar so that I can draw content beneath the status bar.
On Android, after un-mounting a screen with the
useAnimatedKeyboard
hook withisStatusBarTranslucentAndroid
set totrue
, the status bar loses it's translucency and I cannot draw content beneath the StatusBar again.This issue was previously reported in #3631 and a fix was deployed in #3958. I do not think the fix is complete since on un-mount the status bar is broken.
keyboard.mp4
Workaround
Reset the StatusBar on component un-mount
Steps to reproduce
useAnimatedKeyboard Bug
buttonSnack or a link to a repository
https://github.com/peterlazar1993/reanimated-bug
Reanimated version
3.0.2
React Native version
0.71.4
Platforms
Android
JavaScript runtime
Hermes
Workflow
React Native (without Expo)
Architecture
Paper (Old Architecture)
Build type
Debug mode
Device
Real device
Device model
Realme X7 Max - Android 13
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: