Unity Issue Tracker - ListView container is not resized when folding all elements after adding or removing elements
Fixed
UUM-3241
ListView container is not resized when folding all elements after adding or removing elements
Unity: UI Toolkit Controls
Fixed
2023.1.X
2022.1.X
2021.3.X
Appears to be fixed by a previous PR with multiple bug fixes.
Appears to be fixed by another backport with multiple fixes
It looks like it has been fixed by another backport. Cannot reproduce on 2021.3.17f1.
Reproduction steps:
1. Open the attached 'Sandbox_2021' project
2. Observe the 'Packages/Multiplayer Tools/NetStatsMonitor/Assets/Configurations/DefaultNetStatsMonitorConfiguration.asset' in the Inspector
3. Fold all the elements in the 'Display Elements' section
4. Add or remove one more element, all elements will expand automatically
5. Fold all the elements
Expected result: The gray background area is resized
Actual result: The background area is the same size as it was when the elements were expanded
Reproducible with: Built-in (2021.3.2f1, 2022.1.0b8, 2022.1.0b16)
Not reproducible with: Built-in (2022.1.0b7, 2022.2.0a13)
Could not test with: 2019.4.38f1 (no UI Toolkit package), 1.0.0-preview.18 (2020.3.34f1) (Package Manager errors)
Prioritise and Follow this issue
Have a workaround or additional info about this issue?