Search Issue Tracker
By Design
Votes
0
Found in
2021.3.46f1
2022.3.53f1
6000.0.30f1
6000.1.0a6
Issue ID
UUM-90154
Regression
No
Changing the Visual Element size moves it when two visual elements are close to each other
How to reproduce:
1. Open the attached project "MovingReproduction"
2. In the Project window, open the "NewUXMLTemplate" UI Document
3. In the Canvas, select the Slider with the label "SFX Volume"
4. Click and drag to resize the right side of the Slider
5. Observe the results
Expected results: The Slider shrinks on the right side
Actual results: The Slider Moves instead of changing size
Reproducible with: 2021.3.46f1, 2022.3.53f1, 6000.0.30f1, 6000.1.0a6
Reproducible on: Windows 11 Pro (ARM)
Not reproducible on: No other environment tested
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
- URP Realtime reflection probes do not update when RenderProbe() is being called once per second
- Addressable terrain shader variants are stripped from the Player
- [iOS] Debug.Log() appears as <private> in Console app
- UI stays in the background when it is disabled in simulator
- A wrong log file is attached when project is launched with a "-logFile" command line argument
Resolution Note:
This is expected from the flex rules applied to the other VisualElement in the same container. Since it has flex-grow:1, it will grow to take the available space. Changing the width of the slider to the right will cause the slider on the left to take more space, hence pushing the slider on the right to the right. For more details on flex rules, you can look at this guide to flexbox - https://css-tricks.com/snippets/css/a-guide-to-flexbox/