We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ccf8c42 + 1f328bc commit b876c09Copy full SHA for b876c09
1 file changed
webview/src/iosMain/kotlin/com/multiplatform/webview/web/WebView.ios.kt
@@ -167,7 +167,12 @@ fun IOSWebView(
167
},
168
properties =
169
UIKitInteropProperties(
170
- interactionMode = UIKitInteropInteractionMode.NonCooperative,
+ interactionMode =
171
+ if (state.webSettings.iOSWebSettings.scrollEnabled) {
172
+ UIKitInteropInteractionMode.NonCooperative
173
+ } else {
174
+ UIKitInteropInteractionMode.Cooperative()
175
+ },
176
isNativeAccessibilityEnabled = true,
177
),
178
)
0 commit comments