diff --git a/packages/core/src/components/UserSelection/index.tsx b/packages/core/src/components/UserSelection/index.tsx index 44deca7c..781ca37d 100644 --- a/packages/core/src/components/UserSelection/index.tsx +++ b/packages/core/src/components/UserSelection/index.tsx @@ -96,7 +96,7 @@ const UserSelection = memo(({ isSelectionMode, onClick, onContextMenu, onWheel, }; const onMouseMove = (event: React.MouseEvent): void => { - if (!isSelectionMode || !containerBounds.current || !userSelectionRect || event.target !== container.current) { + if (!isSelectionMode || !containerBounds.current || !userSelectionRect) { return; }