You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a chromium browser, eg: Chrome or Edge and on a mobile devices the canvas flickers blue because it's highlighted when the canvas' cursor is pointer and you click/tap on the canvas. It can also be observed using chrome's desktop mobile simulation mode.
This happens for example when you have an action manager for OnPointerOverTrigger, OnPointerOutTrigger that changes the canvas.style.cursor = 'pointer' when a pointer enters the mesh.
The behaviour can even be observed with just a <div style="cursor: pointer;"></div>
And it can be mitigated setting chrome's -webkit-tap-highlight-color property.
In a chromium browser, eg: Chrome or Edge and on a mobile devices the canvas flickers blue because it's highlighted when the canvas' cursor is pointer and you click/tap on the canvas. It can also be observed using chrome's desktop mobile simulation mode.
This happens for example when you have an action manager for OnPointerOverTrigger, OnPointerOutTrigger that changes the
canvas.style.cursor = 'pointer'
when a pointer enters the mesh.The behaviour can even be observed with just a
<div style="cursor: pointer;"></div>
And it can be mitigated setting chrome's
-webkit-tap-highlight-color
property.Repro
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Related forum thread: https://forum.babylonjs.com/t/meshs-actionmanager-on-android-chrome-highlights-selects-canvas-on-click/30328
The text was updated successfully, but these errors were encountered: