Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.15.8, 6.3.0 RC
-
83bf594fb (dev), 3708f5e5e (6.5)
Description
If DragHandler is set to only accept LeftButton, it still handles any other button clicks while the drag is active and that causes the translation to be reset to 0,0 and the active drag to be come canceled.
To reproduce in attached example:
- press and drag red rectangle with left button
- then click right button
notice that active changed to false, translation to 0,0 and onCanceled was called. If you move the mouse after that, it becomes active again, but releasing the left button emits onCanceled again.