fix <a> interactable detecting (#1588)

Co-authored-by: lawyzheng <lawyzheng1106@gmail.com>
This commit is contained in:
Shuchang Zheng
2025-01-16 22:16:00 -08:00
committed by GitHub
parent 7f0a5e9e10
commit 4d2befd90a

View File

@@ -713,11 +713,6 @@ function isInteractable(element, hoverStylesMap) {
if (element.className.toString().includes("hover:cursor-pointer")) {
return true;
}
// auto for <a> is equal to pointer for <a>
if (tagName == "a" && elementCursor === "auto") {
return true;
}
}
if (hasASPClientControl() && tagName === "tr") {