-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve “type to focus” behavior #170
Comments
I can't even make the "first letter typing" work. |
Yeah, it currently works differently from the native input. A user need to open the overlay by pressing Enter or Space and only then it'll be possible to type the first letter. |
Oh, now I see it. It only works with lowercase letters, not if you use Shift 🙄 |
Yep, that's it. In the example the first letter is upper case, so it naturally typed it in upper case. It might be that it is just me, but I'd say it is quite common to start with capitals if the options start with capitals. |
And yes, if there is a focus in the field and I start typing some option, I'd expect to be able to select an option right away. |
This is fixed in the latest stable, proof: https://lavender-bolt.glitch.me/ |
I would expect that the value can be selected without opening the overlay by just typing when the focus is on the field. Is this ticket about it or should I create another one? Feel free to close #184 if it's a duplicate of this. |
They are related but slightly different. I would keep both open. |
Fixed by vaadin/vaadin-list-mixin#50 and released as |
Description
The user should be able to focus an item by typing some of the first letters of its textual representation (just like with the native
<select>
).Currently, it is only possible to focus an item by typing the first letter of it, and subsequent letters focus other items.
Live Demo
https://vaadin.com/components/vaadin-dropdown-menu/html-examples/dropdown-menu-basic-demos
The text was updated successfully, but these errors were encountered: