vscode-elements / elements

Web component library for developing Visual Studio Code extensions
https://vscode-elements.github.io
MIT License
156 stars 27 forks source link

Single-select combobox expand on focus #143

Closed tradiff closed 2 months ago

tradiff commented 2 months ago

This might be a feature request, but if you disagree, I can try to implement a javascript bandaid on my end.

When using a single-select in combobox mode, currently the list expands if the user clicks the arrow, or if the user clicks the textbox and starts typing.

Is there any way to expand the dropdown immediately upon the textbox receiving focus?

Basically let the user click the component, and then once they see the list, decide if they're going to click an item, or start typing to narrow the options.

bendera commented 2 months ago

I agree, it would be more comfortable if the dropdown opened automatically. I'll implement that.

bendera commented 2 months ago

Done.

tradiff commented 2 months ago

Works great! thanks!