Skip to content

Commit 63daa4c

Browse files
authored
Disable scrollsToTop on OverlayInputView (#2705)
Fixes https://youtrack.jetbrains.com/issue/CMP-9569/iOS-scrollsToTop-status-bar-tap-to-return-to-top-functionality-broken-by-Compose-1.10s-OverlayInputView ## Release Notes ### Fixes - iOS - Fix an ability to use `scrollsToTop` for native `UIScrollView`s
1 parent 81bf326 commit 63daa4c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compose/ui/ui/src/iosMain/kotlin/androidx/compose/ui/window/InputViews.ios.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -558,6 +558,7 @@ internal class OverlayInputView(
558558
panGestureRecognizer.delaysTouchesBegan = false
559559
panGestureRecognizer.delaysTouchesEnded = false
560560
bounces = false
561+
scrollsToTop = false
561562
}
562563

563564
override fun canBecomeFirstResponder() = true

0 commit comments

Comments
 (0)