[Webkit-unassigned] [Bug 228338] New: On iOS 15 Safari tapping on an interactive three.js project leads to the floating address bar popping up

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 27 11:51:43 PDT 2021


            Bug ID: 228338
           Summary: On iOS 15 Safari tapping on an interactive three.js
                    project leads to the floating address bar popping up
           Product: WebKit
           Version: Other
          Hardware: iPhone / iPad
                OS: Other
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: UI Events
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: paris at 8thwall.com

Created attachment 434304

  --> https://bugs.webkit.org/attachment.cgi?id=434304&action=review

Video of three.js project where a tap brings up the floating address bar

On iOS 15 Safari several three.js projects, as well as many projects across the web, have a behavior where tapping leads to the bottom address bar popping up on each tap. My expected behavior is that tapping on an interactable canvas would not pop up the bottom address bar. As an example you can see the issue in these projects, and also in the attached video:
- https://threejs.org/examples/webgl_intractive_voxelpainter.html
- https://threejs.org/examples/webgl_raycast_texture.html

I also tested on A-Frame, and the  behavior is slightly different:
- three.js: Happens on interactive projects with tapping.
- A-Frame: Happens on some interactive projects with tapping, i.e. https://aframe.io/aframe/examples/showcase/comicbook. But other projects work as expected (the address bar remains minimized on tap), for example https://aframe.io/aframe/examples/showcase/link-traversal & https://aframe.io/aframe/examples/showcase/ui.

So, a few questions based on this:
- Is there a suggested way to tell the browser that the canvas is being used for interaction and taps should not pop the address bar up? Perhaps there are specific listeners to attach?
- Is there a way to have the address bar minimized on page load? On load it sometimes starts popped up, and other times minimized.

I have attached a video of this issue, please let me know if I can provide more information, thank you.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210727/6e933c23/attachment-0001.htm>

More information about the webkit-unassigned mailing list