Closed javier-godoy closed 10 months ago
This looks similar to https://github.com/vaadin/web-components/issues/465 which has been fixed by changing the RegExp. Need to check why it doesn't work in this case.
Tested this with latest (24.3) and 23.3 branches and on MacOS it works fine:
https://github.com/vaadin/web-components/assets/10589913/dd5c4068-69cc-49e5-8c18-67c7166ce4f8 | https://github.com/vaadin/web-components/assets/10589913/18712b75-1261-4ec5-b6f8-166f49ed3677 |
Does it also work when clicking the select component, so that it opens the overlay before pressing Ñ? I've just tested in 23.3.27 and it doesn't.
Does it also work when clicking the select component, so that it opens the overlay before pressing Ñ
Thanks, now I can reproduce it. Here's the logic that should be updated, I will make a PR to fix it:
Description
When pressing a key in the Select component, the first element that starts with that letter is selected. However, that feature seems to work only for letters in the Latin Basic block.
When pressing a key that corresponds to other letters, such as Ñ (Uppercase Letter, Latin-1 Supplement, U+00D1) or Š (Uppercase Letter, Latin Extended-A, U+0160) no item is selected.
Note that these letters have dedicated key in some keyboard layouts (Ñ is a key in the Spanish layout andŠ is a key in the Slovenian layout).
Expected outcome
I would expect that the first item that begins with the pressed letter is selected.
Minimal reproducible example
Steps to reproduce
Alternatively,
Environment
Vaadin version(s): 23.3.15, 24.1.10 OS: Windows 10
Browsers
Chrome