cesium
cesium copied to clipboard
Movement handler stuck when clicking certain key combinations
What happened?
If you do the reproduction steps, you get stuck with dragging mode even when you do not hold LEFT_CLICK.
https://github.com/CesiumGS/cesium/assets/27568710/9809b620-4960-4b9b-b8ba-47f8bd3b28cd
Reproduction steps
- Press and hold LEFT_CLICK Down
- Press and hold ALT Down
- LEFT_CLICK Up
- ALT Up
Sandcastle example
No response
Environment
Browser: Google Chrome Version 123.0.6312.59 (Official Build) (64-bit) CesiumJS Version: 1.115 Operating System: Windows 10
Thanks for the report @Dphalos, I think this is an oversight in ScreenSpaceCameraController
.
Is this a result of our intentional choice to separate mouse events based on what modifiers are held down? So the event at step 3 in the reproduction steps is "Left click up + alt" instead of just "Left click up"?