You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When you use alert in the callback method, shift is going to get stuck if you use a combination of keys. In my case, it was shift+W
useHotkeys("shift+W", () => alert('shift gonna stuck after that'), {}, [])
To Reproduce
Steps to reproduce the behavior:
use shift + W,
close alert
ERROR -> click shift, alert gonna be visible repeatedly.
Expected behavior
Shift should not stuck. To resolve this issue I've needed to use a timeout or use { keyup:true } useHotkeys("shift+W", () => alert('shift gonna stuck after that'), { keyup: true }, [])
Desktop (please complete the following information):
OS: osX
Browser chrome
Version Version 131.0.6778.86 (Official Build) (arm64)
The text was updated successfully, but these errors were encountered:
Describe the bug
When you use alert in the callback method, shift is going to get stuck if you use a combination of keys. In my case, it was
shift+W
useHotkeys("shift+W", () => alert('shift gonna stuck after that'), {}, [])
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Shift should not stuck. To resolve this issue I've needed to use a timeout or use
{ keyup:true }
useHotkeys("shift+W", () => alert('shift gonna stuck after that'), { keyup: true }, [])
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: