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
- [Dragon Crashers] Build fails in U6
- [Dragon Crashers] 4 Shader error messages on import
- [Dragon Crashers] Readme text is white on light grey
- Cursor stays in front of the first character when entering text in the TextMeshPro field
- Searching in Hierarchy causes unwanted component calls
Resolution Note (2022.2.X):
Correct restoration of element expand state is a design limitation of the ReorderableList control