Skip to content

Commit

Permalink
fix(multi-select): avoid manual field blur
Browse files Browse the repository at this point in the history
Fixes #2083
  • Loading branch information
metonym committed Jan 20, 2025
1 parent c194c80 commit fb6719b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/MultiSelect/MultiSelect.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,6 @@
selectionRef.focus();
} else {
open = false;
fieldRef.blur();
}
} else if (key === "ArrowDown") {
change(1);
Expand Down Expand Up @@ -414,7 +413,6 @@
...item,
checked: false,
}));
if (fieldRef) fieldRef.blur();
}}
translateWithId={translateWithIdSelection}
{disabled}
Expand Down Expand Up @@ -450,7 +448,6 @@
}
} else if (key === "Tab") {
open = false;
inputRef.blur();
} else if (key === "ArrowDown") {
change(1);
} else if (key === "ArrowUp") {
Expand Down

0 comments on commit fb6719b

Please sign in to comment.