Skip to content
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

[BUG] Cannot use Shift-Home and Shift-End #428

Open
JohanHeyvaert opened this issue May 26, 2023 · 0 comments
Open

[BUG] Cannot use Shift-Home and Shift-End #428

JohanHeyvaert opened this issue May 26, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@JohanHeyvaert
Copy link

JohanHeyvaert commented May 26, 2023

Describe the bug

Maybe not a real bug. :-)
It would be nice if one could use shift-home & shift-end in the search field. Just like in a standard textbox, in order to select text until start/end of the input.
I think the home and end keyboard events currently are intercepted by the options selection: first/last item is selected.

In combination with shift the home & end keys should not select first/last option but select input text.

To Reproduce

  1. Open a select field that has mat-select-search
  2. Type some text
  3. Press SHIFT+HOME

Expected behavior
All input text should be selected. No item selection should be triggered.

@JohanHeyvaert JohanHeyvaert added the bug Something isn't working label May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant