Allow p tags in cursor pointer detection (#1217)

This commit is contained in:
Cody Rayment
2024-11-18 17:15:09 -07:00
committed by GitHub
parent 10d735307f
commit e656f1add6

View File

@@ -672,7 +672,8 @@ function isInteractable(element) {
tagName === "span" ||
tagName === "a" ||
tagName === "i" ||
tagName === "li"
tagName === "li" ||
tagName === "p"
) {
const computedStyle = window.getComputedStyle(element);
if (computedStyle.cursor === "pointer") {