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

Car example can lose mouse up event #63

Closed
willeastcott opened this issue Feb 6, 2025 · 0 comments · Fixed by #68
Closed

Car example can lose mouse up event #63

willeastcott opened this issue Feb 6, 2025 · 0 comments · Fixed by #68
Assignees
Labels
bug Something isn't working

Comments

@willeastcott
Copy link

To reproduce:

  1. Load the car example: https://playcanvas-react.vercel.app/examples/model-viewer
  2. Click a couple of times in quick succession and move the mouse while you do it

Sometimes, with the mouse now up, the camera will continue to orbit the car on a mouse move. Perhaps it's related to the pointercancel event - possible because the browser thinks you're trying to drag and drop the canvas element or something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants