LearnNewsExamplesServices
Frontmatter
id8167
titleHarden Return Trip Logic for Detached Items
stateOpen
labels
bugQAstaleai
assigneestobiu
createdAtDec 27, 2025, 10:33 PM
updatedAtApr 2, 2026, 6:03 AM
githubUrlhttps://github.com/neomjs/neo/issues/8167
authortobiu
commentsCount1
parentIssue8163
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]

Harden Return Trip Logic for Detached Items

OpenbugQAstaleai
tobiu
tobiu commented on Dec 27, 2025, 10:33 PM

Scenario:

  1. User drags item from Window A (Source).
  2. Item becomes a Popup (Window C).
  3. User drags Popup over Window B (Target). Proxy appears in B.
  4. User changes mind and drags back to Window A.

Risks:

  • Does Window A recognize the item as its own returning child (via detachedItems map)?
  • Does it create a duplicate?
  • Is the state (internal component data) preserved through the round trip?

Goal: Audit and harden this flow. Ensure onDragBoundaryEntry in the Source correctly identifies the returning item and restores it to its original state/placeholder without data loss or ID conflicts.

tobiu added the bug label on Dec 27, 2025, 10:33 PM
tobiu added the QA label on Dec 27, 2025, 10:33 PM
tobiu added the ai label on Dec 27, 2025, 10:33 PM
tobiu added parent issue #8163 on Dec 27, 2025, 10:33 PM
tobiu assigned to @tobiu on Jan 1, 2026, 6:04 PM