add pointer detect for h element (#2846)
Co-authored-by: lawyzheng <lawyzheng1106@gmail.com>
This commit is contained in:
@@ -816,7 +816,11 @@ function isInteractable(element, hoverStylesMap) {
|
|||||||
tagName === "p" ||
|
tagName === "p" ||
|
||||||
tagName === "td" ||
|
tagName === "td" ||
|
||||||
tagName === "svg" ||
|
tagName === "svg" ||
|
||||||
tagName === "strong"
|
tagName === "strong" ||
|
||||||
|
tagName === "h1" ||
|
||||||
|
tagName === "h2" ||
|
||||||
|
tagName === "h3" ||
|
||||||
|
tagName === "h4"
|
||||||
) {
|
) {
|
||||||
if (isHoverPointerElement(element, hoverStylesMap)) {
|
if (isHoverPointerElement(element, hoverStylesMap)) {
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user