enhance clickable element detect (#2595)

This commit is contained in:
Shuchang Zheng
2025-06-04 23:05:34 -07:00
committed by GitHub
parent 8d0d3b17dc
commit a46f7248a7

View File

@@ -818,6 +818,13 @@ function isInteractable(element, hoverStylesMap) {
return true;
}
if (window.jQuery && window.jQuery._data) {
const events = window.jQuery._data(element, "events");
if (events && "click" in events) {
return true;
}
}
return false;
}