ScreenSpaceEventType Not Firing When Another Key Is Pressed

1. A concise explanation of the problem you’re experiencing.

I provide the user the ability to draw an extent/rectangle for zooming to a specific area. The way they do this is by pressing the “Z” key and then left-clicking the mouse and dragging to draw the rectangle. In the latest Cesium (1.53) I have found that the ScreenSpaceEventType.LEFT_UP event does not fire when another key is being pressed. Its not until I let go of the “Z” key that the ScreenSpaceEventType.LEFT_UP event fires.

I downgraded my Cesium back to 1.48 which was the last version I had noticed this feature working properly. Sure enough in 1.48 the behavior is as expected. The user can press the “Z” button and left click to draw the rectangle and when they let up on the left mouse button still with “Z” suppressed the ScreenSpaceEventType.LEFT_UP event fires…

This seems like a bug to me. The ScreenSpaceEventType.LEFT_UP should fire regardless if another key is suppressed. Likewise for all mouse events.

4. The Cesium version you’re using, your operating system and browser.

Cesium 1.53

Chrome 64.0.3282.167

Windows 10

This definitely seems like a bug, especially given it was working before. Are you able to put together a simple Sandcastle? Then either you or I can open a GitHub bug report (

You can test older versions of Sandcastle under “releases/” so 1.48 would be:

I’m also seeing this issue in our application. Our left up event works fine in 1.52 but breaks in 1.53. I can try and create an example.

Here is a example working in 1.52

And the same example not working in 1.53

I created a GitHub issue: