Search Issue Tracker
Not Reproducible
Votes
0
Found in
6000.0.54f1
6000.1.12f1
6000.2.0b10
6000.3.0a2
Issue ID
UUM-111778
Regression
Yes
Visual Element expands beyond the parent element when width is set to auto
How to reproduce:
1. Open the “IN-108268“ project
2. From the Project window open the "DynamicLayoutExample2.uxml" file
3. Observe the “Table” Visual Element
Expected result: Items are contained within the parent element
Actual result: Items expand beyond the parent element
Reproducible with: 6000.0.0b13, 6000.0.54f1, 6000.1.12f1, 6000.2.0b10, 6000.3.0a2
Not reproducible with: 2023.3.0b10
Could not test with: 6000.0.0b11, 6000.0.0b12 (The elements with "flex-grow: 1" do not expand, could not test bug behaviour)
Reproducible on: macOS 15.5 (M1 Max), Windows 10
Not reproducible on: no other environments tested
Note: Issue does not reproduce if the Size width parameter is set to a static value
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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Resolution Note:
It's not clear what the expectation is or why it is believed to be a bug. There is no guarantee that width=auto means parents wholly contain children. There are many other variables that can affect placement and layout and there are a lot of variables in play in the provided repro project. Please clarify what the issue is and try to simplify the repro to the elements and styles necessary to repro the issue.