add shadow host element into interactable detecting list (#2124)
This commit is contained in:
@@ -590,9 +590,6 @@ function isValidCSSSelector(selector) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function isInteractable(element, hoverStylesMap) {
|
function isInteractable(element, hoverStylesMap) {
|
||||||
if (element.shadowRoot) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
if (!isElementVisible(element)) {
|
if (!isElementVisible(element)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user