Changing visibility of status bar affect flexibility on android #28276
Labels
Needs: Triage 🔍
Platform: Android
Android applications.
Resolution: Locked
This issue was locked by the bot.
Description:
With default android:windowSoftInputMode, when you have a { flex: 1 } view
View with wide border
and open keyboard, it must push the view above the keyboard.
Keybord open when status bar is visible (look at the red bottom border above keyboard)
But when you hide the status bar and open keyboard, view stay the same.
Keybord open when status bar is hidden (there is no red bottom border above keyboard)
React Native version: 0.61.5
Steps To Reproduce
If your status bar is hidden (by StatusBar.setHidden(true) or by <StatusBar hidden={true} />, doesnt matter), keyboard will not push view to top
Expected Results
Additioanl info
Hiding / showing navbar work as expected
Snack example, but bug dont reproduce on it) just a code to copy
https://snack.expo.io/@devildummy/surprised-juice-box
idk how to change android:windowSoftInputMode on Snack, maybe here is a problem, if you create own project with exact code, you will see a problem
The text was updated successfully, but these errors were encountered: