refactor(handle): first check element below then connection radius

This commit is contained in:
moklick
2023-01-30 11:39:19 +01:00
parent 079e380a31
commit 75a13e87bc
11 changed files with 348 additions and 19 deletions
@@ -102,6 +102,7 @@ const Handle = forwardRef<HTMLDivElement, HandleComponentProps>(
const doc = getHostForElement(event.target as HTMLElement);
const { connection, isValid } = isValidHandle(
event,
{
nodeId,
id: handleId,