Search Issue Tracker
Fixed
Fixed in 6000.0.63f1, 6000.2.12f1, 6000.3.0b10, 6000.4.0a5, 6000.5.0a1
Votes
0
Found in
6000.0.59f1
6000.2.8f1
6000.3.0b6
6000.4.0a2
6000.5.0a1
Issue ID
UUM-122632
Regression
Yes
UI Toolkit's TextInput element does not inherit layout parameters from the TextField element when TextField.multiline is true
How to reproduce:
1. Open the attached “IN-117482” project
2. In the Menu field, select the “Test → TextFieldTest” property
3. Observe the pop-up “TextFieldTest” window. Notice that TextInput field fills the entire window
4. In the Project tab, open the “TextFieldTest” script
5. Uncomment line 14, “multiline = true”
6. Save the changes
7. Observe the pop-up “TextFieldTest” window
Expected result: The TextInput element fills the entire space
Actual result: The TextInput element does not fill the entire space
Reproducible with: 6000.0.0b11 (a707ca4efec4), 6000.0.59f2, 6000.2.8f1, 6000.3.0b6, 6000.4.0a2
Not reproducible with: 2022.3.67f2, 2023.3.0b10
Reproducible on: macOS 15.3.2 (24D81) (M1 Max)
Not reproducible on: No other environments tested
Notes:
- Also reproducible when constrained sizing is used
- When “multiline = true”, the “align-self” property is added to TextInput element USS styles and set to “FlexStart”, which causes this issue. Changing it to “Stretch” or “Auto” resolves the problem
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Unity Cloud icon does not appear next to project and does not connect correctly when the project is created with Cloud but closed right after creation
- ScrollerSlider in the Scroller Control is still using UXMLTraits
- Crash on ExtractHandles when shutting down the Editor in a specific scene while Burst jobs are in progress
- Unity Hub closes with no "Project is currently open" window when selecting an already open project from the Projects list
- The Hub freezes indefinitely when copy/pasting a lot of characters in the “Set project display name” Hub window since it has no character limit
Add comment