We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8423a45 commit 59e783cCopy full SHA for 59e783c
1 file changed
packages/react-native/ReactAndroid/src/main/java/com/facebook/react/ReactRootView.java
@@ -956,8 +956,8 @@ private void checkForKeyboardEvents() {
956
957
boolean keyboardIsVisible = rootInsets.isVisible(WindowInsetsCompat.Type.ime());
958
if (keyboardIsVisible != mKeyboardIsVisible) {
959
- Insets barInsets = rootInsets.getInsets(WindowInsetsCompat.Type.systemBars());
960
mKeyboardIsVisible = keyboardIsVisible;
+ Insets barInsets = rootInsets.getInsets(WindowInsetsCompat.Type.systemBars());
961
962
if (keyboardIsVisible) {
963
Insets imeInsets = rootInsets.getInsets(WindowInsetsCompat.Type.ime());
0 commit comments