Skip to content

Commit b875768

Browse files
committed
chore: change default key down timeout to 300ms
1 parent 6ab63e6 commit b875768

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Common/Hooks/UseRegisterShortcut/UseRegisterShortcutProvider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import { UseRegisterShortcutProviderType, ShortcutType, UseRegisterShortcutConte
2121
import { preprocessKeys, verifyCallbackStack } from './utils'
2222

2323
const IGNORE_TAGS_FALLBACK = ['input', 'textarea', 'select']
24-
const DEFAULT_TIMEOUT = 1000
24+
const DEFAULT_TIMEOUT = 300
2525

2626
const UseRegisterShortcutProvider = ({
2727
ignoreTags,

0 commit comments

Comments
 (0)