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
- Red spots appear when Blending Lighting Scenarios using Adaptive Probe Volumes
- [Windows] About Unity Window needs to be opened twice to adapt to resolution
- NullReferenceException and temporary graph corruption after entering playmode if output node connection was changed
- Sprite Renderer with Animation does not reflect Sprite changes in the Scene when switching Mask Interaction
- User is redirected to a non-existing online documentation link when clicking on "?" help button inside Inspector window while Animator Override Controller is selected
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.