diff --git a/src/react/src/lib/Keyboard.tsx b/src/react/src/lib/Keyboard.tsx index d466bcc..d7a0bf1 100644 --- a/src/react/src/lib/Keyboard.tsx +++ b/src/react/src/lib/Keyboard.tsx @@ -119,7 +119,7 @@ export function Keyboard< return; } - lastShiftOrCapsPressAtRef.current = null; + lastShiftOrCapsPressAtRef.current = now; setIsShiftMode((prev) => !prev); };