Pinch to zoom (webview) broken since 18 Dec 2018 update to Chrome / Android Webview
Reported by
hilton.d...@simpro.co,
Dec 21
|
|||
Issue descriptionDevice 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.
,
Dec 21
@ 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!!
,
Dec 21
@ chelamcherla@chromium.org Thanks. The app is simPRO eForms, https://play.google.com/store/apps/details?id=com.simpro.eforms
,
Dec 21
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
,
Dec 21
Attached is eForms running with Chrome 68.0.3440.91 Pinch to zoom and panning when zoomed is working correctly.
,
Dec 21
Attached is eForms running with the updated Chrome 71.0.3578.99 Pinch to zoom and panning when zoomed is not working correctly.
,
Jan 7
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 |
|||
Comment 1 by chelamcherla@chromium.org
, Dec 21