pinch zoom troubles
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 32/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- android, javascript
- Bereich
- mobile-dev, web-dev
Rechercherichtung
Beginne mit der in app/components/Home.vue beschriebenen Reproduktion: Verwende eine leere Vue-App mit dem webview-Tag, das auf eine zoombare Website verweist, und vergleiche ns debug android mit ns preview. Überprüfe das gemeldete @nativescript/android-Update und die webview-Konfiguration. Als erledigt gilt die Aufgabe, wenn Touch-Ereignisse die Website erreichen und der Pinch-Zoom mit zwei Fingern wieder funktioniert.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):
- CLI: 8.8.2
- Cross-platform modules: 8.8.2
- Plugin(s):
"@akylas/nativescript-checkbox": "^2.0.5",
"@bradmartin/nativescript-urlhandler": "^2.0.1",
"@master.technology/permissions": "^2.0.1",
"@nativescript-community/ble": "^3.1.14",
"@nativescript-community/preferences": "^1.3.0",
"@nativescript-community/systemui": "^1.1.13",
"@nativescript-community/ui-collectionview": "^5.3.43",
"@nativescript-community/ui-document-picker": "^1.1.12",
"@nativescript-community/ui-material-bottomnavigationbar": "^7.0.37",
"@nativescript-community/ui-material-bottomsheet": "^7.0.37",
"@nativescript-community/ui-material-button": "^7.0.37",
"@nativescript-community/ui-material-progress": "^7.0.37",
"@nativescript-community/ui-share-file": "^1.2.5",
"@nativescript-community/ui-webview": "^1.4.11",
"@nativescript/appavailability": "^2.0.0",
"@nativescript/appversion": "^2.0.0",
"@nativescript/core": "~8.8.2",
"@nativescript/secure-storage": "^3.0.3",
"@nativescript/theme": "^3.0.2",
"@prabudevarrajan/filepicker": "^2.0.0",
"@sergeymell/nativescript-svg": "^1.1.2",
"buffer": "^6.0.3",
"crypto-browserify": "^3.12.0",
"debounce": "^1.2.1",
"http-auth-client": "^0.4.1",
"js-base64": "^3.7.7",
"js-pkce": "^1.2.1",
"nativescript-cscreenshot": "^1.2.1",
"nativescript-drop-down": "^6.0.2",
"nativescript-inappbrowser": "^3.2.0",
"nativescript-ui-listview": "^14.2.4",
"nativescript-videoplayer": "^5.0.1",
"nativescript-vue": "^2.9.3",
"url-search-params-polyfill": "^8.1.1"
Describe the bug
My app contains a webview (using @nativescript-community/ui-webview), which was zoomable with pinch-zoom until my last update of @nativescript/android, which with needed because of another problem with new Pixel phones.
Many/most touch events do not seem to reach the website in the webview anymore, pinch-zoom has become impossible.
Expected behavior
Using 2 fingers to zoom works as it always did.
Sample project
I'm currently trying to do a small sample project on nativescript preview, but I can't get the webview to show there.
Will update the issue here once I get a working sample on nativescript preview or play.
Does anyone know of a sample I could fork/test with?
If anyone wants to take a look at my current attempt: https://stackblitz.com/edit/nativescript-stackblitz-templates-fblndg?file=app%2Fcomponents%2FHome.vue
Additional context
I know that not all modules list above are in their newest versions, for a patch release of our product I wanted to make as few changes as possible. Updating all of them to their newest version did not change anything.
Update: I redid the same project locally and it works as intended with ns debug android. Then trying ns preview also does not show the webview in the preview app.
To recreate locally: create a blank vue app and replace the with the webview tag pointing to a zoomable site of your choice.
- Vorherrschende Sprache
- C++
- Sterne
- 563
- Forks
- 144
- Ø Merge
- 10 Std. 46 Min.
- Gemergte PRs (30 T.)
- 14
Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus NativeScript/android
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 38/100
NativeScript/android#2039 · 1 Kommentar ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
NativeScript/android#2024 ·
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 20/100
NativeScript/android#2020 ·
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 42/100
NativeScript/android#2019 ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 55/100
NativeScript/android#1986 ·
Alle Issues in NativeScript/android
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
flutter-webrtc/flutter-webrtc#2206 ·
-
litertlm-android AAR ships no consumer ProGuard rules → "mid == null" SIGABRT in minified apps Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
google-ai-edge/LiteRT-LM#3739 ·
-
Component: GLib
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
brave/brave-browser#59300 ·
-
Mute ydb/tests/functional/dstool/test_canonical_requests.py.Test.test_group_take_snapshot in main Offenai_reviewed
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
ydb-platform/ydb#53974 · 3 Kommentare ·