diff --git a/src/SelectionManager.ts b/src/SelectionManager.ts index bf5144cb..a5582478 100644 --- a/src/SelectionManager.ts +++ b/src/SelectionManager.ts @@ -541,6 +541,9 @@ export class SelectionManager extends EventEmitter implements ISelectionManager */ private _onMouseUp(event: MouseEvent): void { this._removeMouseDownListeners(); + + if (this.hasSelection) + this.emit('selectionended'); } /**