Skip to content

Commit 51196fb

Browse files
authored
Merge pull request #1061 from lodev09/fix/android-ime-insets
fix(android): use DISPATCH_MODE_CONTINUE_ON_SUBTREE for keyboard insets
2 parents e11f3a2 + dc06c2b commit 51196fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/java/com/unistyles/NativePlatform+insets.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ class NativePlatformInsets(
139139
if (Build.VERSION.SDK_INT >= 30) {
140140
ViewCompat.setWindowInsetsAnimationCallback(
141141
mainView,
142-
object : WindowInsetsAnimationCompat.Callback(DISPATCH_MODE_STOP) {
142+
object : WindowInsetsAnimationCompat.Callback(DISPATCH_MODE_CONTINUE_ON_SUBTREE) {
143143
override fun onProgress(
144144
insets: WindowInsetsCompat,
145145
runningAnimations: List<WindowInsetsAnimationCompat>

0 commit comments

Comments
 (0)