add td interactable detecting (#1596)

This commit is contained in:
Shuchang Zheng
2025-01-19 19:10:51 -08:00
committed by GitHub
parent dc96595e7a
commit 0c02bdef19

View File

@@ -692,7 +692,8 @@ function isInteractable(element, hoverStylesMap) {
tagName === "a" || tagName === "a" ||
tagName === "i" || tagName === "i" ||
tagName === "li" || tagName === "li" ||
tagName === "p" tagName === "p" ||
tagName === "td"
) { ) {
const elementCursor = getElementComputedStyle(element)?.cursor; const elementCursor = getElementComputedStyle(element)?.cursor;
if (elementCursor === "pointer") { if (elementCursor === "pointer") {