CAPS lock notification does not goes away when i have turn off CAPS LOCK
Did you clear cache before opening an issue?
- [X] I have cleared my cache
Is there an existing issue for this?
- [X] I have searched the existing issues
Does the issue happen when logged in?
Yes
Does the issue happen when logged out?
Yes
Does the issue happen in incognito mode when logged in?
Yes
Does the issue happen in incognito mode when logged out?
Yes
Account name
biswa_108
Account config
No response
Current Behavior
when you press caps lock the notification for caps lock on is there but when you turn it off the notification stays .
Expected Behavior
When i turn on caps lock the notification should be there and when i turn capslock off the notification should be gone .
Steps To Reproduce
- Press caps lock ( to turn caps lock on )
- Press Caps lock ( to turn it off )
- the notification persists
Environment
- OS: Ubuntu 22.04
- Browser: Brave
- Browser Version : Brave 1.71.118
Anything else?
After turning on CAPS lock
After turning off CAPS lock
I would like to solve this issue please assign it to me
Oh by the way i have already started working on it .
@love-to-code108 just create a PR if you have a working version.
@love-to-code108 feel free to attempt this but we've had multiple iterations of this and every time one OS/browser combo fails. As far as i remember there was some limitation in Linux that prevented us from detecting caps lock release until the next keypress (we should really document this somewhere).
Something else to notice is that the caps-lock detection works differently if the focus is on the test input (#words) or not. So far we couldn't figure out why.
This is my current best attempt if someone is interested https://github.com/fehmer/caps-lock-detection/blob/main/index.html#L14
@fehmer Thankyou for the reference i am sure it will be very helpful .
@Miodec yes i am using the flatpak version of brave , and there are some issues that keep occurring with this one , like i wasn't able to connect gnome extension with brave by any means ( most likely because this is a flatpak ) , but well i have used monkeytype for more than a year now and it has been a very big part of my typing journey so trust me its and honour to be of any help any way possible .
Oh and i will try to document what happens in this journey .
Thankyou :)
https://github.com/user-attachments/assets/2dd3c4a9-651e-420c-ad5a-b4627df98b3c
I'm encountering a similar issue. When I reload the page with Caps Lock still active, the alert unexpectedly deactivates, which doesn't seem logical.
Is it a same issue or should I open a new issue for it?
OS : Mac OS Browser: Brave
Screen.Recording.2025-03-02.at.3.58.21.PM.mov I'm encountering a similar issue. When I reload the page with Caps Lock still active, the alert unexpectedly deactivates, which doesn't seem logical.
Is it a same issue or should I open a new issue for it?
OS : Mac OS Browser: Brave
There is no way for browsers to detect the state of caps lock on page load - it requires a key to be pressed to be able to read its state.
Just a browser limitation.
i also having that issue that caps lock notification is not hiding when caps lock is off
https://github.com/user-attachments/assets/46fe3e44-12c3-420c-a643-551e74e4228f
I think it is closed or rejected a pull request.