Imagine a dropdown with the following selections in this order:
Chips
Banana
Apple
If you type in a, it will show you both Banana and Apple. If you use the keyboard to press Enter, you will select Chips. If you press arrow down to highlight Apple, and then press Enter, you will select Banana.
It seems like the final selection index is not based on the filtered option, but the literal ordering of the options present in the dropdown.
Elm version
0.19.1
Package version2.0.0
BrowserVivaldi (Chrome/89.0.4389.116)
This is the list of configs I am using:
Example scenario
Imagine a dropdown with the following selections in this order:
If you type in
a
, it will show you bothBanana
andApple
. If you use the keyboard to pressEnter
, you will selectChips
. If you press arrow down to highlightApple
, and then pressEnter
, you will selectBanana
.It seems like the final selection index is not based on the filtered option, but the literal ordering of the options present in the dropdown.