-
Notifications
You must be signed in to change notification settings - Fork 452
Open
Labels
area:nodesarea:uiGeneral user interface and experience improvementsGeneral user interface and experience improvementsarea:vue-migrationin progressIssue is currently being worked on by the teamIssue is currently being worked on by the team
Description
Description
The resize implementation in useNodeResize currently sets layoutStore.isResizingVueNodes to true during resize operations and resets it in the pointerup handler. However, if the pointer sequence is interrupted (e.g., OS gesture, window blur, device-specific cancel) and pointerup never fires, the flag can remain true, permanently blocking drag activation until reload.
Tasks
- Add handling for
pointercancelevent to ensure cleanup happens even when pointer sequences are interrupted - Add
onScopeDisposehook to defensively reset theisResizingVueNodesflag if the component is unmounted mid-resize - Ensure
releasePointerCaptureis wrapped in try-catch to handle cases where capture was already released
Context
Related PR: #7064
Original discussion: #7064 (comment)
Requested by: @christian-byrne
┆Issue is synchronized with this Notion page by Unito
Metadata
Metadata
Assignees
Labels
area:nodesarea:uiGeneral user interface and experience improvementsGeneral user interface and experience improvementsarea:vue-migrationin progressIssue is currently being worked on by the teamIssue is currently being worked on by the team