Skip to content

Commit f50221b

Browse files
committed
fix: increase triple click debounce time to match default browser time
1 parent 7a91838 commit f50221b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ts/hooks/useDebouncedSelectAllOnTripleClickHandler.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ export const useDebouncedSelectAllOnTripleClickHandler = ({
4040
const resetClickCount = useCallback(
4141
debounce(() => {
4242
clickCount.current = 0;
43-
}, 300),
43+
// NOTE: This value needs to be >= the browser's default triple click interval
44+
}, 500),
4445
[]
4546
);
4647

0 commit comments

Comments
 (0)