Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/lib/holocene/combobox/combobox.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,6 @@
closeList();
break;
case 'ArrowDown':
openList();
Copy link
Collaborator Author

@laurakwhit laurakwhit Sep 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With the addition of this line of code we’re clearing the filterValue on openList().

I think it's safe to remove openList() from ArrowDown here. All it will change is that a user can't hit ESC and then ArrowDown to open the menu again. Actually we're calling openList() on:focus as well so if the user goes back to the input after navigating to a menu option it will also clear the filterValue. Adding a check for if the menu is already open instead.

focusFirstOption();
break;
case 'Enter':
Expand Down
Loading