We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 209fac7 commit bf5b3bfCopy full SHA for bf5b3bf
1 file changed
webview/src/iosMain/kotlin/com/multiplatform/webview/web/WebView.ios.kt
@@ -151,6 +151,12 @@ 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
+ }
160
}
161
162
0 commit comments