Search Issue Tracker
Won't Fix
Votes
0
Found in
2020.3
2021.2
2022.1
2022.1.0a12
Issue ID
1374730
Regression
No
ReorderableList item is being returned with wrong "isExpanded" property when doing Undo after deleting it
How to reproduce:
1. Open the "ReorderableList" project
2. Open "ReorderableListBug" Scene (Assets > ReorderableListBug > ReorderableListBug)
3. In the Hierarchy window select "Bug" GameObject
4. In the Inspector window Expand "Element 2"
5. Select "Element 0" and press "-" sign
6. Observe the List
7. Press Edit > Undo remove Element From Array
8. Repeat 6th step
Expected result: After the 5th step just the "Element 1" is expanded, after the 7th step just the "Element 2" is expanded
Actual result: After the 5th and 7th steps "Elements 1" and "Element 2" are expanded
Reproducible with: 2020.3.25f1, 2021.2.7f1, 2022.1.0b2
Could not test with: 2019.4.34f1 (Errors after downgrade)
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
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Resolution Note (2022.2.X):
Correct restoration of element expand state is a design limitation of the ReorderableList control