Search Issue Tracker

By Design

Votes

0

Found in

2017.4.0f1

2018.3.0a1

2018.3.12f1

2019.1.0a1

2019.2.0a1

2019.3.0a1

Issue ID

1148776

Regression

No

OnPointerUp event is called before mouse is released when OnDrag Event is implemented in Parent or Child object

uGUI

-

How to reproduce:
1. Open the attached project("PointerUp")
2. Enter Play Mode
3. Press and hold down the mouse button on the blue square in the Game View
4. Start dragging the mouse without releasing the mouse button
5. Observe the Console

Expected result: "Up" is not printed
Actual result: "Up" is printed after "Drag begun"

Reproducible with: 2017.4.29f1, 2018.4.2f1, 2019.1.7f1, 2019.2.0b6, 2019.3.0a6

  1. Resolution Note (2019.3.X):

    This is by design. We release any pointer down before starting a drag and clear click selection.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.