Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.1.1f1
Issue ID
947312
Regression
No
OnEndDrag() gets called when one of the drag buttons is released while the other one is still held down
Steps to reproduce:
1. Open attached project "947312.zip"
2. Open "Bug Sample" scene
3. Enter play mode
4. Begin dragging image with Left Mouse Button
5. In addition, click and hold Right Mouse Button (which also starts dragging object)
6. While holding down RMB, release LMB
Actual result: OnEndDrag() gets called even though RMB is held down
Expected result: OnEndDrag() doesn't get called if there are any other active buttons dragging that object
7. While holding down RMB move mouse
8. OnDragBegin() gets called
Reproducible with: 5.6.3p2, 2017.1.1f1, 2017.2.0b10, 2017.3.0a7
Watch attached gif *image resets its position to the center of the screen on OnEndDrag()*
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Expendable property in Inspector Window collapses when an item is added to the property's list
- Unity Editor Preferences window menu labeled "Settings" on macOS devices
- Default value in the Script is not assigned when applying the UI Toolkit ObjectField
- Private field value assignment via Script is not applied when you enter the Play Mode for the first time after the change
- There is an ability to switch to VisionOS module even though the installation of the module has failed
Add comment