Context
I am working on a figma AR project for desktop and Smartphone. The canvas is not fullscreen, until we enter XR.
bug
On smartphone (samsung s22, all browser), when you click on the canvas, the canvas get focused, but no luck receiving onPointerINSERTYOUREVENTObservable events on the buttons in the fullscreen GUI.
Expected behavior
Works without any issue on desktop mode. Buttons receive clicks.
Playground
Surprisingly enough, I copied the code with the exact GUI on playground (https://playground.babylonjs.com/#XNIQCK#21) but I was not capable of reproducing the bug. Meaning that the playground is the expected behavior even on mobile.
Luckily, this is an open source project with a public github repository. I hope you could find what’s wrong with it :
- Url : Figma XR
- Repository : GitHub - arthurmougin/figma-xr: POC of an AR Figma tool
Processes to reproduce
- access the url on smartphone
- login to figma
- add any project to the project list (stored locally) by pasting it’s url in the form.
- Open the project.
Now you should see a list of your frames and you would want to click them to spawn them in the environment. But on Mobile it’s not possible.