When a remote drag (originating from Window A) enters a Target Dashboard (Window B) and then leaves it (back to void/popup), the Target Dashboard layout appears broken (users report "all panel bodies removed" or a sizing mess).
Scenario:
- Drag item from Window A -> Window B (Target).
- Proxy and Placeholder appear in Window B.
- Drag item OUT of Window B (into void).
- Window A resumes popup (Correct).
- Window B layout is corrupted (Incorrect).
Hypothesis:
SortZone.onDragEnd (triggered via onRemoteDragLeave) might be failing to correctly restore the state of the target items. Possible causes:
itemStyles captured during startRemoteDrag might be incorrect if the layout was already shifting.
visibility or dimensions set during the drag are not being reset properly.
- VDOM/DOM synchronization issues upon placeholder removal.
Goal:
Debug and fix the layout restoration logic in SortZone to ensure the Target Dashboard returns to its pristine state when a remote drag visitor leaves.
When a remote drag (originating from Window A) enters a Target Dashboard (Window B) and then leaves it (back to void/popup), the Target Dashboard layout appears broken (users report "all panel bodies removed" or a sizing mess).
Scenario:
Hypothesis:
SortZone.onDragEnd(triggered viaonRemoteDragLeave) might be failing to correctly restore the state of the target items. Possible causes:itemStylescaptured duringstartRemoteDragmight be incorrect if the layout was already shifting.visibilityor dimensions set during the drag are not being reset properly.Goal: Debug and fix the layout restoration logic in
SortZoneto ensure the Target Dashboard returns to its pristine state when a remote drag visitor leaves.