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
- IndexOutOfRangeException is thrown when right-clicking on Additional Shader Channels property in Canvas Inspector
- [Vive][SteamVR] Play Mode stops or the Editor closes once XR processes (SteamVR) are shutdown during Play Mode
- [Linux][Vulkan] Silent crash when the Player window is resized
- Blend Tree Slider does not adapt if outside allowed range on change of Threshold values
- Mesh Rendered GameObject using the SpriteLitDefault Material becomes invisible when animating with the URP Sprite-Lit-Default Shader
Add comment