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
Inconsistent behavior of ScreenSpaceEventHandler with MOUSE_MOVE event between Firefox and Chrome.
In Chrome when the mouse moves out of the canvas and over another element the MOUSE_MOVE events stop. In Firefox the MOUSE_MOVE events continue and can have coordinates outside the range of the canvas.
My expectation is that the MOUSE_MOVE event is only triggered while the pointer is moving over the canvas element, and is not fired when the pointer is outside of the canvas.
Screen.Recording.2024-12-13.153041.mp4
Reproduction steps
Open the below sandcastle in Chrome.
Open the Console tab
Move the mouse over the Cesium viewer and then over the red element
Note that the console logs stop when the pointer moves over the red element
Open sandcastle in Firefox
Open the Console tab
Move the mouse over the Cesium viewer and then over the red element
Note that the console logs continue while over the red element, and the y value is negative.
What happened?
Inconsistent behavior of ScreenSpaceEventHandler with MOUSE_MOVE event between Firefox and Chrome.
In Chrome when the mouse moves out of the canvas and over another element the MOUSE_MOVE events stop. In Firefox the MOUSE_MOVE events continue and can have coordinates outside the range of the canvas.
My expectation is that the MOUSE_MOVE event is only triggered while the pointer is moving over the canvas element, and is not fired when the pointer is outside of the canvas.
Screen.Recording.2024-12-13.153041.mp4
Reproduction steps
Sandcastle example
https://sandcastle.cesium.com/#c=dVFta8IwEP4roftSQVLGvmktGyJsMHHg5qfCiMlNg+mlJJeKDP/7mlYnOBdIyHP3vFyItOiJNRr24NiEIezZFLwOFV91tbRMZIenFkloBFcmg3GJstNtBSpzLVxKB4DLWkiYNYD03JPSPoR7CQhcCmyEj04nD+6BXrAO9CRJW0y/AnYXlla2gar1GbDvElm3Yro1wI3d/LY5oHqzXkdR9I284/C/od4PNfD54mM5+5wvVrMoSIZJ7ulgoDjHPOqqto5YcCblPCOoaiMIfLYOcgfEpfd90llwZwN5reAyKWO1UErjZsQeHFTjS30t5G7jbEA1cqC6xrHv5tl5jFzphmk1KZOTcZkU8/a9rN2O0RYcxBN7HGGetZLTAy7qP19Y3OYZK+Ksi9bNiEOkbe+L177IOc+zFt5WkrVmLa6dfwA
Environment
Browser:
CesiumJS Version: 1.124
Operating System: Windows 11 Enterprise 22631.4602
The text was updated successfully, but these errors were encountered: