-
-
Notifications
You must be signed in to change notification settings - Fork 36.1k
Closed
Description
Describe the bug
OrbitControls is an EventDispatcher. It sends 'start', 'change', and 'end' events. If you mouse wheel while rotating it will send nested 'start' and 'end' events. This is (probably) incorrect, because clients relying on this code to e.g., enable/disable functionality in their app will incorrectly reenable/re-disable things.
To Reproduce
- Add an event listener for 'start' and 'end' events
- Rotate, holding down the mouse button (default: left)
- While holding down the button use the mouse wheel
Live example
Expected behavior
It should send change events during mouse wheel, not start stop
Screenshots
If applicable, add screenshots to help explain your problem (drag and drop the image).

Platform:
- Device: [Desktop, Mobile]
- OS: [Windows, MacOS, Linux, Android, iOS]
- Browser: [Chrome, Firefox, Safari, Edge]
- Three.js version: [dev, r???]
Metadata
Metadata
Assignees
Labels
No labels