google / model-viewer

Easily display interactive 3D models on the web and in AR!
https://modelviewer.dev
Apache License 2.0
6.89k stars 815 forks source link

iOS Chrome 119 Beta: When exiting an AR QuickLook session the originating HTML page view is broken #4569

Open milesgreen opened 10 months ago

milesgreen commented 10 months ago

Description

When exiting an AR QuickLook session, the originating HTML page is scrolled back to the top of the page, and the entire viewport is shifted down the screen making it look broken.

When using inspection tools, it appears that the entire HTML element has been shifted down the screen.

This used to work fine in previous versions where web page would not be scrolled and viewport would not be moved.

Chromium Bug Reported: https://bugs.chromium.org/p/chromium/issues/detail?id=1502773

Live Demo

https://modelviewer.dev/examples/augmentedreality/index.html#ar

Repro steps:

Similar experience when viewing non Model-Viewer ARQL content. For example, viewing any 3D model from: https://developer.apple.com/augmented-reality/quick-look/

Version

Browser Affected

OS

AR

Screenshots

Before ARQL: IMG_8574

After ARQL: IMG_8575

elalish commented 10 months ago

So this is specific to iOS Chrome, and doesn't repro on Safari? Thanks for filing the Chromium bug!

milesgreen commented 10 months ago

So this is specific to iOS Chrome, and doesn't repro on Safari?

Correct. Does not repro in Safari iOS.

It may be a general WKWebView issue, but it does not repro in iOS Firefox (119.2) or iOS DuckDuckGo (7.96.0.0) - at least, not with the versions I'm testing with.

milesgreen commented 6 months ago

Partially fixed in iOS Chrome 123.

Viewport no longer shifted down page.

But, page is still scrolled back to top.