Closed Ron025 closed 1 month ago
If you register mouse event such as click, left_down or left_up using ScreenSpaceEventHandler(canvasElement), this issue will happen.
Afterthis, when you press down and hold any key of Ctrl, Shift or Alt, and then click mouse's left button, the registered function won't be fired.
Or, suspension on these keys are on purpose ?
1. 2. 3. ...
https://sandcastle.cesium.com/#c=dY9Ba8MwDIX/ismlCRSbnpeGja5jg7IeUraLYbiOupk5crDllGzsv89JL2VrdZKe3veEtMNArDdwBM+WDOHIVhBMbPnLpOUy09O8ckjKIHiZFTcSJZ5Za+0BsO6UhnUPSI8KG5vYUywPGhC4VtirUPAA9IRdpDtNxmF+iDg1LIcRLdh3CieVcMpni1kh8Wd+7c5u6IBv1g+7t/vt63ORzbMy0GChksimujVt5zyx6G3OuSBoO6sIgthH/QnEdQjjM6O1FOdo2ZiemWZ54XumrQohbQ7R2tp8gcyqUiT/P9Q61Rh83/bgrRpG28ei2pxEznkp0niZJOfsXvk/yb8
Browser: Chrome CesiumJS Version: 1.121 Operating System: Windows 11
What happened?
If you register mouse event such as click, left_down or left_up using ScreenSpaceEventHandler(canvasElement), this issue will happen.
Afterthis, when you press down and hold any key of Ctrl, Shift or Alt, and then click mouse's left button, the registered function won't be fired.
Or, suspension on these keys are on purpose ?
Reproduction steps
1. 2. 3. ...
Sandcastle example
https://sandcastle.cesium.com/#c=dY9Ba8MwDIX/ismlCRSbnpeGja5jg7IeUraLYbiOupk5crDllGzsv89JL2VrdZKe3veEtMNArDdwBM+WDOHIVhBMbPnLpOUy09O8ckjKIHiZFTcSJZ5Za+0BsO6UhnUPSI8KG5vYUywPGhC4VtirUPAA9IRdpDtNxmF+iDg1LIcRLdh3CieVcMpni1kh8Wd+7c5u6IBv1g+7t/vt63ORzbMy0GChksimujVt5zyx6G3OuSBoO6sIgthH/QnEdQjjM6O1FOdo2ZiemWZ54XumrQohbQ7R2tp8gcyqUiT/P9Q61Rh83/bgrRpG28ei2pxEznkp0niZJOfsXvk/yb8
Environment
Browser: Chrome CesiumJS Version: 1.121 Operating System: Windows 11