Search Issue Tracker
Fixed
Fixed in 2021.3.35f1, 2022.3.20f1, 2023.2.9f1, 2023.3.0b5
Votes
0
Found in
2020.3.41f1
2021.3.13f1
2022.1.22f1
2022.2.0b14
2023.1.0a18
2023.2.6f1
2023.3.0b3
Issue ID
UUM-20723
Regression
No
UI Toolkit VisualElement keeps firing mouse events after setting element visibility to Hidden if mouse wasn't moved
How to reproduce:
1. Open the attached “HiddenButtonEventsBug.zip” project
2. Open “SampleScene” scene
3. Enter Play Mode
4. Click on any button. Don't move the mouse after clicking
5. Open Console window and note the log message
6. Click again on the button without moving the mouse
7. Note the log message in the Console window
Expected result: Button disappears and another one appears in its place after clicking and Console prints clicked button
Actual result: Button disappears but Console Log prints another button as if it was still visible if the button is clicked without moving the mouse
Reproducible with: 1.0.0-preview.18 (2020.3.41f1), 2021.3.13f1, 2022.1.22f1, 2022.2.0b14, 2023.1.0a18
Reproduced on: macOS 12.6 (Intel)
Workaround: Behavior returns to normal if mouse is moved after the click
Note: Also reproducible in Build
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Channel remapping dropdown in the Terrain Layer does not open when clicked on the title
- The Editor freezes indefinitely when a large number of elements are entered in the Subgraphs or Categories lists
- Some Visual Effects package Assets links to documentation are not working
- Heatmap asset’s documentation button in the Inspector window leads to “Sorry... that page seems to be missing!” page when clicked
- Crash on MonoBehaviour::CallMethodIfAvailable when performing various actions
Add comment