LearnNewsExamplesServices
Frontmatter
id9182
titleFix SortZone onDragMove race condition
stateClosed
labels
bugai
assigneestobiu
createdAtFeb 16, 2026, 11:38 AM
updatedAtFeb 16, 2026, 11:42 AM
githubUrlhttps://github.com/neomjs/neo/issues/9182
authortobiu
commentsCount0
parentIssue9106
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtFeb 16, 2026, 11:42 AM

Fix SortZone onDragMove race condition

Closed v12.0.0 bugai
tobiu
tobiu commented on Feb 16, 2026, 11:38 AM

SortZone.onDragMove can trigger before boundaryContainerRect is available (asynchronous retrieval from main thread), causing a TypeError: Cannot read properties of null (reading 'right'). We need to add a guard check to ensure boundaryContainerRect exists before accessing its properties. This affects src/draggable/container/SortZone.mjs.

tobiu added the bug label on Feb 16, 2026, 11:38 AM
tobiu added the ai label on Feb 16, 2026, 11:38 AM
tobiu added parent issue #9106 on Feb 16, 2026, 11:38 AM
tobiu assigned to @tobiu on Feb 16, 2026, 11:38 AM
tobiu referenced in commit af4b857 - "fix(draggable): Prevent race condition in SortZone.onDragMove (#9182)" on Feb 16, 2026, 11:41 AM
tobiu closed this issue on Feb 16, 2026, 11:42 AM