-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not working on compose multiplatform 1.7.0-beta01 #219
Comments
Please try out the latest release, version 1.9.40-alpha01. |
@KevinnZou With the latest version 1.9.40-alpha01, I am experiencing scrolling issues in the webview (iOS devices). Is anyone else having such issues? The issue is when I try to scroll down sometimes it detects the gesture, but most of the time it doesn't and it looks unresponsive. |
Same, it's working fine on Android. On iOS I cannot scroll at all. |
I suspect that the issue may be related to the latest version of UIKitView, which introduces a new property called |
Is there an issue with Jetbrains that we can follow up on? |
Is there a temporary solution to the scrolling issue? |
This will ensure that touch interactions are not processed by the Compose UI and passed down to the interop view. fixes: KevinnZou#219 KevinnZou#228
As the title describes, the library is not working on 1.7.0-beta01
Release note 1.7.0-beta01:
JetBrains/compose-multiplatform-core#1494.
UIKitView and UIKitViewController are deprecated... New API are mentioned in deprecation message. Deprecated invocations should work fine unless custom onResize is used, it is disallowed now and will print a warning.
I get the following exception in xcode
Uncaught Kotlin exception: kotlin.native.internal.IrLinkageError: Function 'UIKitView' can not be called: No function found for symbol 'androidx.compose.ui.interop/UIKitView|UIKitView(kotlin.Function0<0:0>;androidx.compose.ui.Modifier;kotlin.Function1<0:0,kotlin.Unit>?;androidx.compose.ui.graphics.Color;kotlin.Function1<0:0,kotlin.Unit>?;kotlin.Function2<0:0,kotlinx.cinterop.CValue<platform.CoreGraphics.CGRect>,kotlin.Unit>?;kotlin.Boolean;androidx.compose.runtime.Composer?;kotlin.Int;kotlin.Int){0§<platform.UIKit.UIView>}[0]'
at 0 NodeMapp Hike 0x102619d93 kfun:kotlin.Throwable#(kotlin.String?){} + 119
at 1 NodeMapp Hike 0x102612f33 kfun:kotlin.Error#(kotlin.String?){} + 115
at 2 NodeMapp Hike 0x10264f6c3 kfun:kotlin.native.internal.IrLinkageError#(kotlin.String?){} + 115
at 3 NodeMapp Hike 0x10264f787 kfun:kotlin.native.internal#ThrowIrLinkageError(kotlin.String?){}kotlin.Nothing + 175
at 4 NodeMapp Hike 0x103db2b6b kfun:com.multiplatform.webview.web#IOSWebView(com.multiplatform.webview.web.WebViewState;androidx.compose.ui.Modifier;kotlin.Boolean;com.multiplatform.webview.web.WebViewNavigator;com.multiplatform.webview.jsbridge.WebViewJsBridge?;kotlin.Function1<platform.WebKit.WKWebView,kotlin.Unit>;kotlin.Function1<platform.WebKit.WKWebView,kotlin.Unit>;kotlin.Function1<com.multiplatform.webview.web.WebViewFactoryParam,platform.WebKit.WKWebView>;androidx.compose.runtime.Composer?;kotlin.Int){} + 3419
at 5 NodeMapp Hike 0x103db13ab kfun:com.multiplatform.webview.web#ActualWebView(com.multiplatform.webview.web.WebViewState;androidx.compose.ui.Modifier?;kotlin.Boolean;com.multiplatform.webview.web.WebViewNavigator?;com.multiplatform.webview.jsbridge.WebViewJsBridge?;kotlin.Function1<platform.WebKit.WKWebView,kotlin.Unit>?;kotlin.Function1<platform.WebKit.WKWebView,kotlin.Unit>?;kotlin.Function1<com.multiplatform.webview.web.WebViewFactoryParam,platform.WebKit.WKWebView>?;androidx.compose.runtime.Composer?;kotlin.Int;kotlin.Int){} + 1995
at 6 NodeMapp Hike 0x103d8b133 kfun:com.multiplatform.webview.web#WebView(com.multiplatform.webview.web.WebViewState;androidx.compose.ui.Modifier?;kotlin.Boolean;com.multiplatform.webview.web.WebViewNavigator?;com.multiplatform.webview.jsbridge.WebViewJsBridge?;kotlin.Function1<platform.WebKit.WKWebView,kotlin.Unit>?;kotlin.Function1<platform.WebKit.WKWebView,kotlin.Unit>?;kotlin.Function1<com.multiplatform.webview.web.WebViewFactoryParam,platform.WebKit.WKWebView>?;androidx.compose.runtime.Composer?;kotlin.Int;kotlin.Int){} + 3315
at 7 NodeMapp Hike 0x103d8a2b7 kfun:com.multiplatform.webview.web#WebView(com.multiplatform.webview.web.WebViewState;androidx.compose.ui.Modifier?;kotlin.Boolean;com.multiplatform.webview.web.WebViewNavigator?;com.multiplatform.webview.jsbridge.WebViewJsBridge?;kotlin.Function0<kotlin.Unit>?;kotlin.Function0<kotlin.Unit>?;androidx.compose.runtime.Composer?;kotlin.Int;kotlin.Int){} + 3291
at 8 NodeMapp Hike 0x101dc4b6f kfun:be.nodemapp.shared.ui.views#PlannerWebView(com.multiplatform.webview.web.WebViewSt
The text was updated successfully, but these errors were encountered: