From c9f9826cdfb42e8a8fd472cb3e946354e69da027 Mon Sep 17 00:00:00 2001 From: ttop32 Date: Sat, 11 May 2024 11:27:06 +0900 Subject: [PATCH] fix mousover scroll event --- src/event/mouseover.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/event/mouseover.js b/src/event/mouseover.js index 1b889e6e..4fd16c10 100644 --- a/src/event/mouseover.js +++ b/src/event/mouseover.js @@ -41,6 +41,9 @@ export function enableMouseoverTextEvent( triggerMouseoverTextWithDelay(); }); + window.addEventListener("scroll", (e) => { + triggerMouseoverTextWithDelay(); + }); } export const triggerMouseoverText = (mouseoverText) => {