Search Issue Tracker
Fixed in 5.6.0
Votes
1
Found in
5.5.0f3
Issue ID
858880
Regression
Yes
Input Field overrides the manually set preferred size in the Layout Element
How to reproduce:
1. Open attached project "858880-repro.zip"
2. Go to Scene view
3. Input Fields have a Layout Element with a Preferred Width set to 200
Expected behavior: Input Field doesn't override it's Layout Element
Actual behavior: Input Field overrides it's Layout Element
Note: This is caused by the InputField.layoutPriority returning 1
Workaround: Use an InputField-derived class which overrides the layoutPriority returning 0
Reproducible: 5.5.0p1, 5.6.0a6
Not reproducible: 5.3.7p2, 5.4.3p3
Regression introduced in: 5.5.0b3
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Physics SyncColliders 3x-7x performance regression from 2022LTS to U6
- ListView's '+' button causes a recursively dispatching event when the visual element area is filled up
- Soft keyboard closes immediately after multiple touches are made if Pointer Behavior is set to SingleUnifiedPointer
- UI Image batching breaks when interleaving elements with mixed z-positions and materials
- KeyNotFoundException is thrown when retrieving some values from HyperLinkClickedEventArgs
Add comment