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

Right-click mouseRelease event does not "release" the model if the event happens outside of the browser window #72

Open
lacymorrow opened this issue Nov 4, 2023 · 0 comments

Comments

@lacymorrow
Copy link

Description

As a user, when I left-click in the 3d viewer, I can rotate the model.
With right-click, I can move the model in space.

If I begin my right click in the 3d viewer in the browser viewport, then drag my cursor outside of the viewport (to the Chrome address bar, for example), then release (outside of the browser viewport), the model remains "attached" to the mouse and continues to move around in 3D space. The mouseUp event is not "seen" by view 3D

Note this is only on right click, left click seems to work fine.

Steps to check or reproduce

  • Load a 3d model,
  • right click on the model to begin moving
  • drag cursor to address bar
  • release right mouse button
  • drag cursor back to 3d viewer
  • watch model flail around
Screen.Recording.2023-11-04.at.9.33.11.AM.mov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant