Unity Issue Tracker - onRemoveCallback is not called when removing an element from the ReoderableList using contextMenu
Fixed
UUM-104534
onRemoveCallback is not called when removing an element from the ReoderableList using contextMenu
Unity: IMGUI Controls
Fixed
6.3.X
6.2.X
6.1.X
6.0.X
2022.3.X
A new callback was added, called onDeleteArrayElementCallback
A new callback was added, called onDeleteArrayElementCallback
A new callback was added, called onDeleteArrayElementCallback
A new callback was added, called onDeleteArrayElementCallback
Reproduction steps:
1. Open the attached project "ReproProj"
2. In the Project window, click on “/Assets/AnotherExampleSO.asset“
3. In Inspector, click “+“ sign for both arrays 3 times
4. Click the “-“ sign in the “Exploration Resources” array
5. Observe the “On Remove callback for ExplorationResources“ Message in the Console
6. Clear Console
7. Right-click any element in the “Exploration Resources“ array and click “Delete Array Element“
8. Observe the Console
Expected result: Message “On Remove callback for ExplorationResources“ exists
Actual result: No Message is present