Hi,
I’ve build a scene with mouse, touch and VR input support. I don’t use UI elements but aabb raycasting on entities with a renderer component for both VR and mouse/touch input. The hover states work in all browsers as expected, only »click« does not work in some browsers. »click« for mouse/touch is implemented with mouseup/touchend. I had tested with Chrome on macOS and the Quest 3 with the Meta browser during development and »click« input worked without issues. Then I tested the scene in different browsers on different OSs and discovered, that the »click« input does not work in several browsers on different OSs.
Windows 10:
Chrome - yes
Edge - yes
Firefox - no
macOS:
Chrome - yes
Safari - no
Firefox - no
iOS:
Safari iOS 15.7.11 - yes
Safari iOS 18.5 - no
Quest 3:
Meta browser - yes
The iOS version differences and research results put the assumption close that newer browsers restrict click recognition. Does anybody have a proposal how to activate click recognition for newer browsers in PlayCanvas? Any solution proposal would easily save me from several hours of debugging and researches.
Thanks for your advice.
Urs