Search Issue Tracker

Fixed

Fixed in 2022.3.7f1, 2023.1.7f1, 2023.2.0b3, 2023.3.0a1

Votes

1

Found in

2022.3.4f1

2023.1.4f1

2023.2.0a22

2023.3.0a1

Issue ID

UUM-42365

Regression

Yes

List View automatically collapses when reordering items

--

-

How to reproduce:
1. Open the “listview_auto_collapse_bug“ project
2. Open the “SampleScene”
3. In Hierarchy select the “Main Camera” GameObject
4. In Inspector locate the “ListViewExample” Script Component
5. Expand the “Game Objects” List View
6. Select and drag the “Element 2” item onto the “Element 0” item

Expected result: List View does not collapse
Actual result: List View collapses

Reproduced with: 2022.2.0a9, 2022.3.4f1, 2023.1.4f1, 2023.2.0a22
Not reproduced with: 2021.3.28f1, 2022.2.0a8

Reproduced on: Windows 11

Notes:
1. Reproducible in a new project
2. It is possible that the issue will not reproduce on the first try, therefore a couple of attempts might be needed → see the internally attached “listview_reproduction” video
3. It is possible to fix this issue → dragging the remaining item in the menu returns the previous items

  1. Resolution Note (fix version 2023.3.0a1):

    Fixed UUM-42365 @guillaume-riendeau:
    UI Toolkit: ListView's content container was sometimes resized smaller than it should be when reordering items.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.