add shadow host element into interactable detecting list (#2124)

This commit is contained in:
Shuchang Zheng
2025-04-10 22:41:40 -07:00
committed by GitHub
parent a0bd4242f7
commit 7e81386b63

View File

@@ -590,9 +590,6 @@ function isValidCSSSelector(selector) {
}
function isInteractable(element, hoverStylesMap) {
if (element.shadowRoot) {
return false;
}
if (!isElementVisible(element)) {
return false;
}