nativescript-community / ui-webview

Extended WebView which adds many options such as custom scheme handlers, JavaScript execution, URL capturing, and more.
Apache License 2.0
13 stars 7 forks source link

multi-touch / pinch-zoom troubles on android #21

Open ray007 opened 1 month ago

ray007 commented 1 month ago

I have already posted the problem at https://github.com/NativeScript/android/issues/1827, but maybe someone here has an idea on what's going wrong.

Which platform(s) does your issue occur on?

Please, provide the following version numbers that your issue occurs with:

Please, tell us how to recreate the issue in as much detail as possible.

Even the simplest project with just a single webview fails to work with multi-touch in the webview.

Is there any code involved?

I created a preview app at https://stackblitz.com/edit/nativescript-stackblitz-templates-fblndg?file=app%2Fcomponents%2FHome.vue, but the webview does not show any content in NS-preview. Generating a simple app with only a webview showing a pinch-zoom test https://humphryscomputing.com/test.pinch.html or https://coderundebug.com/blog/pinch-zoom-move-rotate-image/ should suffice.

ray007 commented 1 month ago

Info Update: although pinch-zoom broke when only updating @nativescript/android, a simple test page with the standard WebView still seems to do pinch-zoom fine, while using AWebView (vue variant) does not.