fix: support Chrome autofill when event.key is undefined#1888
Conversation
👷 Deploy request for docsearch pending review.Visit the deploys page to approve it
|
shortcuts
left a comment
There was a problem hiding this comment.
is this for RSC or SSR purposes? looking at the types, it can't be undefined, but if this check solves it, it's not a huge deal to me
cc @francoischalifour wdyt?
|
chrome autocomplete in forms triggers 'keydown' but the event.key is undefined |
|
or it's a chrome BUG. |
|
scrnli_2023_5_16 20-27-03.webm |
Co-authored-by: François Chalifour <francoischalifour@users.noreply.github.com>
|
English is not my native language; please forgive me if I offend you in any way. |
event.key is undefined
|
@powerfulyang Nope, nothing to worry about 🙂 Thanks for your contribution! |
shortcuts
left a comment
There was a problem hiding this comment.
Thanks a lot for the contribution!
|
For anyone looking for the actual chrome issue https://issuetracker.google.com/issues/41425904 |
Closes #1887.