Skip to content

Commit dc06c2b

Browse files
committed
fix(android): use DISPATCH_MODE_CONTINUE_ON_SUBTREE for keyboard insets
1 parent a4e1630 commit dc06c2b

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)