Skip to content

Commit b09609a

Browse files
committed
fix: condition
1 parent 2021935 commit b09609a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

android/src/main/java/com/reactnativekeyboardcontroller/views/EdgeToEdgeReactViewGroup.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ class EdgeToEdgeReactViewGroup(
112112
)
113113

114114
val shouldApplyBottomPadding =
115-
active && reactContext.windowSoftInputMode == SOFT_INPUT_ADJUST_RESIZE && !isPreservingEdgeToEdge
115+
!active && reactContext.windowSoftInputMode == SOFT_INPUT_ADJUST_RESIZE && !isPreservingEdgeToEdge
116116
val navBarInsets = insets.getInsets(WindowInsetsCompat.Type.navigationBars())
117117
val systemBarInsets = insets.getInsets(WindowInsetsCompat.Type.systemBars())
118118
val keyboardInsets =

0 commit comments

Comments
 (0)