Feature request: opt-in "fully enclosed" (contains) mode for drag-selection - #1166
Conversation
Add selectionMode: 'intersects' | 'contains' to the nodes-selection plugin config. Default stays 'intersects' (unchanged behavior); when set to 'contains', a node is selected via drag-selection only if its bounding box is fully enclosed by the selection rectangle. Group nodes are checked against their own outer bounding box, not per child. Frame nodes keep their existing always-contains behavior regardless of selectionMode. Closes #1158 Signed-off-by: Jesus Manuel Piñeiro Cid <jesusmpc@inditex.com>
❗ This Pull Request will not trigger a docs releaseA Pull Request with no |
🚀 Release Preview SuccessYou are going to release the version minor with the following changes: 5.3.0 - 2026-09-07Added
💡 Merge Strategy: Squash and MergeRemember to use the 'Squash and Merge' strategy to merge this Pull Request ( |
7c95a57 to
536a846
Compare
❗ This Pull Request will not trigger a docs releaseA Pull Request with no |
🚀 Release Preview SuccessYou are going to release the version minor with the following changes: 5.3.0 - 2026-09-07Added
💡 Merge Strategy: Squash and MergeRemember to use the 'Squash and Merge' strategy to merge this Pull Request ( |
🚀 Docs Release PreviewMerging this Pull Request will release the docs site as
|
🚀 Release Preview SuccessYou are going to release the version minor with the following changes: 5.3.0 - 2026-09-07Added
💡 Merge Strategy: Squash and MergeRemember to use the 'Squash and Merge' strategy to merge this Pull Request ( |
Signed-off-by: Jesus Manuel Piñeiro Cid <jesusmpc@inditex.com>
🚀 Docs Release PreviewMerging this Pull Request will release the docs site as |
🚀 Release Preview SuccessYou are going to release the version minor with the following changes: 5.3.0 - 2026-09-07Added
💡 Merge Strategy: Squash and MergeRemember to use the 'Squash and Merge' strategy to merge this Pull Request ( |
|



Closes #1158