Chee Aun

Results 243 comments of Chee Aun

1. Personally not a fan of editor-specific configs. There are too many editors out there (in the past, in the present, and will be many more in the future) with...

Unable to reproduce this on Firefox 121 and Chrome 120 on macOS. Would need more details. What actions do you perform when you see the confirmation dialog?

@graue there's a recent change but shouldn't affect the `esc` keys. What do you see when you use the [key event demo](https://codesandbox.io/p/sandbox/keyboard-event-listener-d6106?file=%2Fsrc%2FApp.js)?

@graue try this demo instead https://www.toptal.com/developers/keycode — I notice that other linked demo uses the deprecated [`keyCode`](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/keyCode) instead of [`code`](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/code). I'll need to know the `event.key` and `event.code` when pressing...

@graue dev site now has `useKey: true` in more shortcuts (https://github.com/cheeaun/phanpy/commit/17c2390a5c00dcf7dd1bd996cf8768faa58ff232). Try it out and see if they work for you 🙇‍♂️

@graue 2 things: 1. What do you see on https://www.toptal.com/developers/keycode when pressing CapsLock (physical Esc) and pressing Esc (physcal CapsLock)? 2. Is it the same steps mentioned above? 1. Start...

@graue ok this is quite difficult to test on my side. So, I'll need more help from you and try these steps separately and see if they work on your...

@graue could you try the "live demo" on this page and see if anything registers? https://react-hotkeys-hook.vercel.app/docs/documentation/use-record-hotkeys#record-hotkeys (start by pressing 'Record' button and then randomly press any keys) > Caps Lock...

@graue try this instead https://stackblitz.com/edit/vitejs-vite-irwvvv1j?embed=1&file=src%2Fapp.jsx&hideExplorer=1&view=preview (same as demo above but with `useKeys: true`) and see if it works differently 🙇‍♂️

@cyrneko what's the Firefox version you're using?