We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d902cd commit ffc850bCopy full SHA for ffc850b
docs/pages/frameworks/vanilla.md
@@ -56,7 +56,7 @@ const selection = new SelectionArea({
56
selectables: ['.container > div'], // Specifies the elements that can be selected
57
boundaries: ['.container'], // Specifies the boundaries of each selection
58
}).on('start', ({ store, event }) => {
59
- if (!event.ctrlKey && !event.metaKey) { // Clear selection if no modifier key is pressed
+ if (!event.ctrlKey && !event.metaKey && !event.shiftKey) { // Clear selection if no modifier key is pressed
60
store.stored.forEach(el => el.classList.remove('selected'));
61
selection.clearSelection();
62
}
0 commit comments