Search Issue Tracker

Fixed in 1.0.0

Votes

0

Found in [Package]

1.0.0

Issue ID

1360188

Regression

No

[UIToolkit] The button.clicked callback is triggered when hovering the mouse up on the blocking element

Package: UI Toolkit

-

Reproduction steps:
1. Open the attached user's project "UIToolkit Bug.zip"
2. Open the "Main Menu.unity" Scene
3. Press the Play button
4. In the Game view, press and hold the "R1" button with the left mouse button
5. Hover over the backside of the button that is hidden and observe the button

Expected result: The button animation is not triggered
Actual result: The button animation is triggered

Reproducible with: built-in UI Toolkit (2021.2.0b15, 2022.1.0a11)
Could not test with: 2019.4.31f1 (No UI Toolkit package available), 2020.3.20f1, 2021.1.25f1 (Project breaks, Console errors)

  1. Resolution Note (fix version 1.0.0):

    Fixed in: (1.0.0) 2022.1.0a15

  2. Resolution Note (fix version 1.0.0):

    Fixed in: Built-in UI Toolkit 1.0.0 (2021.2.16f1)

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.