We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf5b3bf commit 2936727Copy full SHA for 2936727
1 file changed
webview/src/iosMain/kotlin/com/multiplatform/webview/web/WebView.ios.kt
@@ -151,12 +151,8 @@ fun IOSWebView(
151
scrollEnabled = it.scrollEnabled
152
showsHorizontalScrollIndicator = it.showHorizontalScrollIndicator
153
showsVerticalScrollIndicator = it.showVerticalScrollIndicator
154
- if (
155
- platform.UIKit.UIDevice.currentDevice.systemVersion
156
- .toDouble() >= 11.0
157
- ) {
158
- contentInsetAdjustmentBehavior = platform.UIKit.UIScrollViewContentInsetAdjustmentBehavior.UIScrollViewContentInsetAdjustmentNever
159
- }
+ contentInsetAdjustmentBehavior =
+ platform.UIKit.UIScrollViewContentInsetAdjustmentBehavior.UIScrollViewContentInsetAdjustmentNever
160
}
161
162
0 commit comments