refactor(handle): first check element below then connection radius
This commit is contained in:
@@ -102,6 +102,7 @@ const Handle = forwardRef<HTMLDivElement, HandleComponentProps>(
|
||||
|
||||
const doc = getHostForElement(event.target as HTMLElement);
|
||||
const { connection, isValid } = isValidHandle(
|
||||
event,
|
||||
{
|
||||
nodeId,
|
||||
id: handleId,
|
||||
|
||||
Reference in New Issue
Block a user