From da82f7b009f88458991dcb23a730c6326194a7d4 Mon Sep 17 00:00:00 2001 From: Hong Date: Fri, 19 Jun 2026 20:27:15 +0700 Subject: [PATCH] fix: remove 300ms click delay by setting click interval to 0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR #10323 corrected the `requestFailure` → `requireFailure` typo in the recognizer setup, which activated a 300ms delay on every click via TapRecognizer's unconditional setTimeout when `requireFailure` is set. Setting `interval: 0` on the click recognizer makes the timer fire immediately, restoring the sub-millisecond click response that existed in all versions prior to 9.3.4. Fixes #10384 Co-authored-by: CommandCodeBot --- modules/core/src/lib/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/src/lib/constants.ts b/modules/core/src/lib/constants.ts index b6661dffa89..05401cb1eb6 100644 --- a/modules/core/src/lib/constants.ts +++ b/modules/core/src/lib/constants.ts @@ -105,7 +105,7 @@ export const RECOGNIZERS = { pinch: [Pinch, {}, null, ['multipan']], pan: [Pan, {threshold: 1}, ['pinch'], ['multipan']], dblclick: [Tap, {event: 'dblclick', taps: 2}], - click: [Tap, {event: 'click'}, null, ['dblclick']] + click: [Tap, {event: 'click', interval: 0}, null, ['dblclick']] } as const; export type RecognizerOptions = {