Search Issue Tracker
By Design
Votes
0
Found in
2021.1.13f1
2022.1.20f1
2022.2.0b10
2023.1.0a12
Issue ID
UUM-18844
Regression
No
PointerDownEvent is not invoked when clicking a button
How to reproduce:
1. Open the attached “UI Toolkit Bug Report” project
2. Enter Play Mode
3. Click on the “Click me!” button
4. Observe the Console
Expected result: "OnPointerDownEvent" LogError appears alongside “OnPointerUpEvent” and “OnClickEvent”
Actual result: "OnPointerDownEvent" LogError does not appear
Reproducible with: 2021.3.13f1, 2022.1.20f1, 2022.2.0b10, 2023.1.0a12
Couldn’t test with: 2020.3.39f1 (Console error)
Reproducible on: Windows 10
Note: Reproduces on Windows build
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Terrain has tint from the directional light source when a normal map is enabled on iOS and Android Platforms
- [HDRP] Custom pass before post process
- [2D] Generate Outline will turn sprites a solid black
- Floating Editor Windows can become completely inaccessible when disconnecting monitor on multi-monitor setup
- Floating Editor Windows resize to smallest size when disconnecting monitor on multi-monitor setup
Resolution Note:
The Button's Clickable manipulator has been reacting with StopImmediatePropagation for as long as it has existed, intentionally hiding PointerDownEvent to other callbacks after the Clickable to allow it to work well with other manipulators such as those handling Drag effects. Users can RegisterCallback with the TrickleDown.TrickleDown argument if they want to react to the event before the Clickable manipulator stops it.