cables-gl / cables_docs

cables documentation docs.cables.gl
https://cables.gl/docs/docs
45 stars 16 forks source link

Mouse clic report inconsistencies #905

Closed 60-hz closed 1 week ago

60-hz commented 1 week ago

Describe the bug

Mouse Op: -Under MacOS, is reporting "Click Left" only on release, and "Click Right" only on mousedown. -Under Windows, both are reported on release.

MouseButtons Op: -Same inconsistency for MouseButtons Op and "Click Left" / "Click Right". -The remaining "Mouse Down" / "Mouse Up" buttons ports are all correct here.

pandrr commented 1 week ago

it is a common practise to use browser "click" and "contextmenu" events for clicks, this is what those triggers are. their behaviour is defined by browser/OS usw up/down events (touch is also different probably )

it does not work for you, use pointer up/down events

60-hz commented 1 week ago

Ok, thanks!