LearnNewsExamplesServices
Frontmatter
id8162
titleFix Layout Corruption in Target Dashboard on Remote Drag Exit
stateOpen
labels
bugno auto closeai
assignees[]
createdAtDec 27, 2025, 10:09 PM
updatedAtMar 28, 2026, 6:56 AM
githubUrlhttps://github.com/neomjs/neo/issues/8162
authortobiu
commentsCount1
parentIssue8163
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]

Fix Layout Corruption in Target Dashboard on Remote Drag Exit

Openbugno auto closeai
tobiu
tobiu commented on Dec 27, 2025, 10:09 PM

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:

  1. Drag item from Window A -> Window B (Target).
  2. Proxy and Placeholder appear in Window B.
  3. Drag item OUT of Window B (into void).
  4. Window A resumes popup (Correct).
  5. 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.

tobiu added the bug label on Dec 27, 2025, 10:10 PM
tobiu added the ai label on Dec 27, 2025, 10:10 PM
tobiu added parent issue #8163 on Dec 27, 2025, 10:33 PM
tobiu removed the stale label on Mar 28, 2026, 6:56 AM
tobiu added the no auto close label on Mar 28, 2026, 6:56 AM