-
Notifications
You must be signed in to change notification settings - Fork 984
Description
Do you want to request a feature or report a bug?
I would like to report a bug
What is the current behavior?
A couple of weeks ago, I implemented click-based interaction using the legacy versions of AR.js and A-Frame used in the example described by the user @yannklein in this old github issue. However, recently I don't know what it has changed, but attempting to use click based interactions with A-Frame 0.8.0 and AR.js 2.1.8 works on my laptop but it doesn't work on my android phone anymore.
I have worked around this issue by using A-Frame 0.9.2 and the latest version of AR.js or A-Frame 0.8.0 and the latest version of AR.js. However, although both versions work kind of ok-ish (despite raycasting being off as already reported in #40. Altough I have the feeling that raycasting is less off using A-Frame 0.8.0 than 0.9.2), I have noticed a behaviour I did not notice before, which is: click events get activated randomly, without me touching the screen.
If the current behavior is a bug, please provide the steps to reproduce.
I have put together two examples in codepen, one using A-Frame 0.9.2 and another one using A-Frame 0.8.0. Both exhibit this ghost click behaviour where the clicks events get acctivated randomly without no one touching the screen.
Please mention other relevant information such as the browser version, Operating System and Device Name
Please note that this ghost click bug only happens on my android phone. It does not happen on my laptop. I tried already in two different android phones using different browsers (firefox and chrome). I can share more details if needed.