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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- Crash with “Fatal Error! The file ‘MemoryStream’ is corrupted!” when adding a large number in Font Character Rects Size field
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.