Search Issue Tracker
Won't Fix
Won't Fix in 2023.2.X
Votes
0
Found in
2022.1.13f1
2022.2.0b4
2023.1.0a6
2023.2.0a1
Issue ID
UUM-11809
Regression
No
TextField using USS style becomes broken when no DisplayStyle.* is called
How to reproduce:
1. Open the attached "1410902.zip" project
2. Open the "AI Designer" window (AI Designer -> Tree Editor)
3. Add a new Variable to the Variables list
4. Double-click on the name of the Variable to modify it
Expected result: The name of the Variable gets focused/selected
Actual result: The name of the Variable doesn't get focused/selected
Reproducible with: 2022.1.13f1, 2022.2.0b4, 2023.1.0a6
Couldn't test with: 2020.3.38f1, 2021.3.8f1 - Deprecation causes errors preventing reproduction (Package scripts do not work)
Reproduced on: macOS Monterey 12.0.1
Note:
- Package is used to show the issue visually that is happening in the Script
- Uncommenting lines 125-126 and 134-135, shows the expected result
- Different versions cause different issues:
- 2022.2.0b4, 2023.1.0a6: Once focused it becomes hard to break said focus of the TextField
- 2022.1.13f1: Once focused and attempting to un-focus, doesn't convert back from TextField to Label
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
- Adaptive Performance documentation link leads to outdated package documentation when the documentation hyperlink is pressed in the Project Settings window
- After converting a Built-in project to URP render texture related errors are spammed that can lead to Game view being rendered on top of Scene view
- UI Builder slider value lags and stutters when sliding/modifying certain property values
- "Reset UI Builder Layout" functionality inconsistently changes Canva Size when "Match Game View" is enabled/disabled
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
Resolution Note:
Currently this is expected behaviour, that is you cannot focus an element that is currently display:none". Using USS, switching back to visible is asynchronous and happens after the request to focus. It is required to have to employ inline styles or alternatively asynchronously make the Focus() call
Resolution Note (2023.2.X):
Currently this is expected behaviour, that is you cannot focus an element that is currently display:none". Using USS, switching back to visible is asynchronous and happens after the request to focus. It is required to have to employ inline styles or alternatively asynchronously make the Focus() call