fix <a> interactable detecting (#1588)
Co-authored-by: lawyzheng <lawyzheng1106@gmail.com>
This commit is contained in:
@@ -713,11 +713,6 @@ function isInteractable(element, hoverStylesMap) {
|
|||||||
if (element.className.toString().includes("hover:cursor-pointer")) {
|
if (element.className.toString().includes("hover:cursor-pointer")) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// auto for <a> is equal to pointer for <a>
|
|
||||||
if (tagName == "a" && elementCursor === "auto") {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hasASPClientControl() && tagName === "tr") {
|
if (hasASPClientControl() && tagName === "tr") {
|
||||||
|
|||||||
Reference in New Issue
Block a user