Search Issue Tracker

Fixed in 1.0.0-preview.17

Votes

0

Found in [Package]

1.0.0-preview.14

Issue ID

1342616

Regression

No

MouseOutEvent is triggered when text changes on a UIToolkit label if the position is Absolute

Package: UI Toolkit

-

Reproduction steps:
1. Open project "UnityInputTest.zip"
2. Open UI Toolkit Debugger from Windows > UI Toolkit > Debugger
3. Toggle on "Show Layout"
4. Enter Play Mode
5. From the UI Toolkit Debugger window select "Pick Element"
6. In Game view select the text that says "Updated value: x"
7. Move your cursor inside the box and observe Console logs

Expected result: MouseOutEvent isn't triggered when the cursor doesn't leave the box
Actual result: MouseOutEvent is triggered when the cursor doesn't leave the box

Reproducible with: 1.0.0-preview.14 (2020.3.14f1, 2021.1.14f1, 2021.2.0a3)
Could not test with: 2018.4.36f1, 2019.4.28f1, 2021.2.0a4, 2021.2.0b3, 2022.1.0a1 (Don't have UI Toolkit package or library compilation errors)

Note:
- This doesn't happen with Position.Relative

  1. Resolution Note (fix version 1.0.0-preview.17):

    Fixed in:
    UI Toolkit version 1.0.0-preview.17 for 2020.x releases

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.