Skip to content

Commit

Permalink
fix(inspector): handle autocomplete keydown event (#338)
Browse files Browse the repository at this point in the history
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
  • Loading branch information
MathiasWP and bluwy authored May 15, 2022
1 parent 5476da7 commit a6a8e00
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/hot-crabs-reply.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/vite-plugin-svelte': patch
---

Handle inspector autocomplete keydown event
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
}
function keydown(event) {
if (event.repeat) {
if (event.repeat || event.key === undefined) {
return;
}
Expand Down

0 comments on commit a6a8e00

Please sign in to comment.