From af116f4cfb84438bfaceefc7398a3e6facf2ae00 Mon Sep 17 00:00:00 2001 From: Unrud Date: Tue, 25 Apr 2023 16:31:41 +0200 Subject: [PATCH] Explain prevention of mouse mode by touch --- webdata/app/ui.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/webdata/app/ui.mjs b/webdata/app/ui.mjs index 18c69de..5441823 100644 --- a/webdata/app/ui.mjs +++ b/webdata/app/ui.mjs @@ -85,6 +85,7 @@ export default class UI { } #handleTouchend(event) { + // HACK: event.preventDefault doesn't reliably stop click events in Firefox (112) this.#ignoreClickUntilTimeStamp = event.timeStamp + IGNORE_CLICK_AFTER_TOUCH_DURATION; }