From the UDN post:
When the new entry is added, the entire tree gets wiped out as a result of the CDO swap, and when these update methods run it leaves the tree in a default expansion state. (Effectively wiping out the state of any expanded nodes) Fix: I extracted the code for restoring the expansion state of details layout (SDetailsViewBase.cpp:895-903), put it into a new method for the class, then called it in 2 places: At the end of UpdatePropertyMaps At the end of UpdateSinglePropertyMap, but only in cases where bIsExternal is true. Cheers!
1. Create a new BP
2. Create a BP struct and add a couple variables to it
3. Add an array of this struct to your BP
4. Add two members to the array, and expand them
5. Add another member to the array
Result: All expanded members collapse
Expected: The expanded members stay expanded
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-96324 in the post.
1 |
Component | UE - Gameplay - Blueprint Editor |
---|---|
Affects Versions | 4.25 |
Created | Aug 3, 2020 |
---|---|
Resolved | Jul 19, 2022 |
Updated | Jul 19, 2022 |