Search Issue Tracker
Fixed
Fixed in 2023.2.17f1, 6000.0.0b13
Votes
0
Found in
2021.3.20f1
2022.2.9f1
2023.1.0b6
2023.2.0a4
2023.3.0a3
6000.0.0b11
Issue ID
UUM-29965
Regression
No
Borders of an element don't match its children's borders when the element has "max-width" specified
How to reproduce:
1. Open the user-attached project “MaxWidthProblem“
2. In the Project tab, click Assets → UITkTest → TestCase.uxml
3. Observe the #ProblemCase element in the Viewport
Expected result: The yellow outline matches the red outline
Actual result: The yellow outline has an offset from the right and doesn’t match the size of the red rectangle
Reproducible with: 2021.3.20f1, 2022.2.9f1, 2023.1.0b6, 2023.2.0a4
Couldn’t test with: 2020.3.45f1 (uxml file can’t be loaded properly)
Reproducible on: Windows 11 Pro
Workaround: Use “flex-basis” property with “flex-grow” specified by 0
Note: Also reproducible in Player
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Add comment