umbraco/Umbraco.UI

uui-combobox reconsider home and end-buttons

enkelmedia opened this issue · 0 comments

Which exact UI Library version are you using? For example: 1.0.1 - don't just write v1.

v1.5.0 @umbraco-ui/uui-combobox

Bug summary

When using the keyboard to filter and navigate the combobox I noticed that something that I'm very used to don't work.

I tend to use shift and the "home"-button on the keyboard to select everything in the textbox and then press delete or backspace to"reset". However, with the cursor in the text input in the combobox I can't use home or end since this would select the first or last item in the combobox.

uui-combo-home-end

I think that this behavior should be kept in the textbox as many other popular comboboxes

Ex:
https://material.angular.io/components/autocomplete/overview
https://select2.org/dropdown
https://ej2.syncfusion.com/demos/
https://tarekraafat.github.io/autoComplete.js/#/

The behavior with "home" and "end" picking the first and last item in the list make sense for a select-element but not for a combobox.

Ex:

https://material.angular.io/components/select/overview

Specifics

No response

Steps to reproduce

Try here: https://uui.umbraco.com/?path=/docs/uui-form--docs

Expected result / actual result

No response