ignore invisible elements when binding
This commit is contained in:
parent
45b7cfc14b
commit
c4874e9dd9
@ -262,6 +262,10 @@ export const getAllHoveredElementAtPoint = (
|
||||
bindingBorderTest(element, point, elementsMap, toleranceFn?.(element))
|
||||
) {
|
||||
candidateElements.push(element);
|
||||
|
||||
if (!isTransparent(element.backgroundColor)) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user