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
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
- PolySpatial “Trying to set shader on a Material Variant.” error is printed in the console when entering Play Mode
- Error “Shader error in 'YSCloudCover': call to 'tex3D' is ambiguous at Assets/YSCloudCoverText.shader(606) (on d3d11)“ is present when compiling tex3D shader with DXC
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
- Addressables content build fails but the Player build is successful when building a development build
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/