New issue
Advanced search Search tips

Issue 917234 link

Starred by 2 users

Issue metadata

Status: Unconfirmed
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: ----



Sign in to add a comment

Pinch to zoom (webview) broken since 18 Dec 2018 update to Chrome / Android Webview

Reported by hilton.d...@simpro.co, Dec 21

Issue description

Device name: Android (Any), Oneplus 6, Samsung Galaxy Tab S3, many others, all we tested.

From "Settings > About Chrome"
Application version:
Operating system: Android 9.0, 8.0, 7.1.1, 6.0

URLs (if applicable): 

Steps to reproduce:
(1) login with username: apple  password: tester
(2) Open a form
(3) Pinch to zoom

Expected result: Zooming in and out should centre between finger locations.


Actual result: Zoom in works correctly, zoom out scrolls up. Single finger pan after zoom only works correctly left and right.

Notes:  This worked correctly on Chrome and Webview before the 18 December 2018 update. Since the update, all devices have this problem. Rolling back fixes the problem as a workaround.
We released our App Yesterday (20th December 2018) and have had made a poor first impression with our customers.

 
Labels: Needs-triage-Mobile
Cc: chelamcherla@chromium.org
Components: Mobile>WebView
Labels: WV-Triaged Needs-Feedback
@ hilton.devitt: Could you please let us know on which app this issue is seen? Please provide screencast along with it, this would help in further triaging of the issue.

Thanks!!
Project Member

Comment 4 by sheriffbot@chromium.org, Dec 21

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Attached is eForms running with Chrome 68.0.3440.91
Pinch to zoom and panning when zoomed is working correctly.
chrome 68.0.3440.91 - pinch to zoom and pan is working.mp4
7.2 MB View Download
Attached is eForms running with the updated Chrome 71.0.3578.99
Pinch to zoom and panning when zoomed is not working correctly.
chrome 71.0.3578.99 - pinch to zoom and pan is broken.mp4
8.9 MB View Download
We've come up with a solution to the problem that works for us.

In this case, the value of this.zoom.nativeElement.parentElement.scrollHeight was changing between the different versions of Chrome (Pre-18-12-2018 v.s. 18-12-2018)

I'm not sure why this was changed, but we got around this problem by changing scrollHeight to clientHeight.

Sign in to add a comment