selectize.js icon indicating copy to clipboard operation
selectize.js copied to clipboard

Enable setting the first option in the list as active.

Open Joshuan92 opened this issue 3 years ago • 3 comments

Joshuan92 avatar Apr 21 '22 11:04 Joshuan92

When the user types into the search bar, the first item is always highlighted. When the user then uses backspace (for example, to correct a typo), the same item stays highlighted even though it may not be the top-most item anymore. This is arguably confusing UX.

For example, the user types "Anna", highlighting the person named Anna. Then the user uses backspace to correct a typo. When the user pressed backspace twice (resulting in "An" as a search query), Anna remains highlighted even though there could be many more persons before (for example "Anastasia").

This option opts-in to always highlight the first element in the search results, independent of whether the user used backspace or not.

famoser avatar Apr 21 '22 12:04 famoser

This pull request is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days

github-actions[bot] avatar Sep 21 '22 02:09 github-actions[bot]

Could the maintainers please indicate whether they intend to review/merge this, or should I close this PR? This is still a concern from my point of view. Thanks!

famoser avatar Sep 21 '22 05:09 famoser

copied and merged in #1874

risadams avatar Sep 22 '22 16:09 risadams

Thank you a lot @risadams !

famoser avatar Sep 23 '22 08:09 famoser