improve option interactable detect (#2111)

This commit is contained in:
Shuchang Zheng
2025-04-07 05:04:18 -04:00
committed by GitHub
parent 8d93ded199
commit f7ca61c4bd

View File

@@ -770,6 +770,11 @@ function isInteractable(element, hoverStylesMap) {
if (hasASPClientControl() && tagName === "tr") { if (hasASPClientControl() && tagName === "tr") {
return true; return true;
} }
if (tagName === "div" && element.hasAttribute("data-selectable")) {
return true;
}
return false; return false;
} }