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

Autocomplete disables home and end keys in text input even when closed #4198

Closed
jonbrock opened this issue Apr 21, 2017 · 3 comments
Closed

Comments

@jonbrock
Copy link

Bug, feature request, or proposal:

When the autocomplete dropdown is closed, keyboard control of the associated text field to be as close to normal as possible. However, currently the home and end keys are disabled. It would kind of make sense if home and end opened up the panel and selected the first or last option, but that doesn't happen. They are just ignored.

What is the expected behavior?

When the dropdown panel is closed, keyboard navigation in the text input should be close to normal.

What is the current behavior?

The home and end keys don't work

What are the steps to reproduce?

Instructions are provided here: https://plnkr.co/edit/BNnD50Ct2zOowH3Mg60g?p=preview

What is the use-case or motivation for changing an existing behavior?

Disabling the home and end keys doesn't seem to provide any benefit, and at the same time it's confusing to people who are used to clearing the selection via "shift+home backspace" rather than "ctrl+a backspace"

Which versions of Angular, Material, OS, browsers are affected?

Latest version

Is there anything else we should know?

@jefersonestevo
Copy link
Contributor

Is this related to #3496?

@mmalerba
Copy link
Contributor

mmalerba commented Apr 26, 2017

Dupe of #3496

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants