Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Movement handler stuck when clicking certain key combinations #11903

Open
Dphalos opened this issue Mar 27, 2024 · 2 comments
Open

Movement handler stuck when clicking certain key combinations #11903

Dphalos opened this issue Mar 27, 2024 · 2 comments

Comments

@Dphalos
Copy link
Contributor

Dphalos commented Mar 27, 2024

What happened?

If you do the reproduction steps, you get stuck with dragging mode even when you do not hold LEFT_CLICK.

Media1.mp4

Reproduction steps

  1. Press and hold LEFT_CLICK Down
  2. Press and hold ALT Down
  3. LEFT_CLICK Up
  4. 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

@ggetz
Copy link
Contributor

ggetz commented Mar 27, 2024

Thanks for the report @Dphalos, I think this is an oversight in ScreenSpaceCameraController.

@jjspace
Copy link
Contributor

jjspace commented Mar 27, 2024

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"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants