Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
3 of 13 tasks
milesgreen opened this issue Nov 16, 2023 · 3 comments
Labels
flag: not model-viewer Problems that are related to our project but are ultimately some other project's issue

Comments

@milesgreen
Copy link
Contributor

milesgreen commented Nov 16, 2023

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:

  • In iOS Chrome, view above link
  • Tap AR button to open astronaut in ARQL
  • Exit the ARQL session
  • Observe, the HTML page has scrolled back to the top and the entire viewport has shifted down

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

  • model-viewer: 3.3.0 (any?)

Browser Affected

  • Chrome, version: 119.0.6045.24 beta
  • Edge
  • Firefox
  • IE
  • Safari

OS

  • Android
  • iOS, version: 17.2 Beta 3 (21C5046c)
  • Linux
  • MacOS
  • Windows

AR

  • WebXR
  • SceneViewer
  • QuickLook

Screenshots

Before ARQL:
IMG_8574

After ARQL:
IMG_8575

@elalish
Copy link
Collaborator

elalish commented Nov 20, 2023

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

@elalish elalish added the flag: not model-viewer Problems that are related to our project but are ultimately some other project's issue label Nov 20, 2023
@milesgreen
Copy link
Contributor Author

milesgreen commented Nov 23, 2023

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
Copy link
Contributor Author

Partially fixed in iOS Chrome 123.

Viewport no longer shifted down page.

But, page is still scrolled back to top.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flag: not model-viewer Problems that are related to our project but are ultimately some other project's issue
Projects
None yet
Development

No branches or pull requests

2 participants