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 === "i" ||
tagName === "li" ||
tagName === "p"
tagName === "p" ||
tagName === "td"
) {
const elementCursor = getElementComputedStyle(element)?.cursor;
if (elementCursor === "pointer") {