fix(whiteboard): error when drag away last element in Chrome

This commit is contained in:
austaras
2022-08-12 18:23:00 +08:00
committed by Austaras
parent c67a033f8a
commit 308d2c4445
9 changed files with 85 additions and 85 deletions
@@ -93,7 +93,7 @@ export class LeftMenuPlugin extends BasePlugin {
}
};
private _onDrop = () => {
private _onDrop = (e: React.DragEvent<Element>) => {
this._lineInfo.next(undefined);
};
private _handleDragOverBlockNode = async (