ignore invisible elements when binding

This commit is contained in:
dwelle
2025-09-13 12:06:48 +02:00
parent 45b7cfc14b
commit c4874e9dd9

View File

@@ -262,6 +262,10 @@ export const getAllHoveredElementAtPoint = (
bindingBorderTest(element, point, elementsMap, toleranceFn?.(element))
) {
candidateElements.push(element);
if (!isTransparent(element.backgroundColor)) {
break;
}
}
}