Try 10ms to fix firefox bug

pull/2064/head
Jérémy Rialland 2022-03-17 19:35:06 +01:00 committed by Johan Girod
parent c7fd333f44
commit 0ea982520a
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ export const getValueFrom = <
*/
export const wrapperDebounceEvents = <T>(
props: T,
{ ms = 0, eventsToWrap = ['onPress'] } = {}
{ ms = 10, eventsToWrap = ['onPress'] } = {}
): T => {
if (props && typeof props === 'object') {
const castedProps = props as Record<string, unknown>