aframevr / aframe

:a: Web framework for building virtual reality experiences.
https://aframe.io/
MIT License
16.69k stars 3.98k forks source link

Javascript events being ignored until the scene is touched. #3873

Open amirkhan81 opened 5 years ago

amirkhan81 commented 5 years ago

Description:

We are having an issue where two buttons that our outside of the aframe scene are being used to lad a new template in the scene. This works great on a desktop with a mouse, but on a touch device, either iOS or Android the button doesn't load the new scene, it just refreshes the current one. If, however, you tap the scene at all before clicking the button it works as expected.

An easy way to reproduce this is to click the link above > Founders Hall > click on the back button in the bottom left (same scene will refresh)

However click the link above > Founders Hall > tap anywhere on the scene > click on the back button in the bottom left > you'll return back to the previous scene

dmarcos commented 5 years ago

The link above does not work. @amirkhan81 Can you provide a working link to reproduce?