Allow p tags in cursor pointer detection (#1217)
This commit is contained in:
@@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user