Skip to content

Commit e686d39

Browse files
authored
Merge pull request #378 from Erkko68/main
bugfix: WebView not ignoring safe area in full-screen mode on iOS
2 parents 209fac7 + 2936727 commit e686d39

File tree

1 file changed

+2
-0
lines changed
  • webview/src/iosMain/kotlin/com/multiplatform/webview/web

1 file changed

+2
-0
lines changed

webview/src/iosMain/kotlin/com/multiplatform/webview/web/WebView.ios.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,8 @@ fun IOSWebView(
151151
scrollEnabled = it.scrollEnabled
152152
showsHorizontalScrollIndicator = it.showHorizontalScrollIndicator
153153
showsVerticalScrollIndicator = it.showVerticalScrollIndicator
154+
contentInsetAdjustmentBehavior =
155+
platform.UIKit.UIScrollViewContentInsetAdjustmentBehavior.UIScrollViewContentInsetAdjustmentNever
154156
}
155157
}
156158

0 commit comments

Comments
 (0)