From 0ea982520a5892af7b81372fb06d230904ad713b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Rialland?= Date: Thu, 17 Mar 2022 19:35:06 +0100 Subject: [PATCH] Try 10ms to fix firefox bug --- site/source/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/source/utils.ts b/site/source/utils.ts index 8574b2386..38e11ce4a 100644 --- a/site/source/utils.ts +++ b/site/source/utils.ts @@ -106,7 +106,7 @@ export const getValueFrom = < */ export const wrapperDebounceEvents = ( props: T, - { ms = 0, eventsToWrap = ['onPress'] } = {} + { ms = 10, eventsToWrap = ['onPress'] } = {} ): T => { if (props && typeof props === 'object') { const castedProps = props as Record