diff --git a/packages/vanilla/src/index.ts b/packages/vanilla/src/index.ts index dcc8c92..0b7cb16 100644 --- a/packages/vanilla/src/index.ts +++ b/packages/vanilla/src/index.ts @@ -833,10 +833,6 @@ export default class SelectionArea extends EventTarget { stored.includes(el) ); - if (!elements.length) { - return; - } - this._selection.stored = stored.filter(el => !elements.includes(el)); this._selection.selected = selected.filter(el => !elements.includes(el)); this._selection.changed.added = [];