-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
mat-select poorly handles "space" when performing typeahead #17774
Comments
crisbeto
added
has pr
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
labels
Nov 22, 2019
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Nov 22, 2019
We support typing into a select to skip to an item, as well as pressing space to open the select, however if the user is typing something that has a space in it, the select will open and interrupt the user. These changes add some logic so that we don't trigger the panel while the user is typing. Fixes angular#17774.
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Nov 22, 2019
We support typing into a select to skip to an item, as well as pressing space to open the select, however if the user is typing something that has a space in it, the select will open and interrupt the user. These changes add some logic so that we don't trigger the panel while the user is typing. Fixes angular#17774.
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Nov 25, 2019
We support typing into a select to skip to an item, as well as pressing space to open the select, however if the user is typing something that has a space in it, the select will open and interrupt the user. These changes add some logic so that we don't trigger the panel while the user is typing. Fixes angular#17774.
jelbourn
pushed a commit
that referenced
this issue
Nov 26, 2019
We support typing into a select to skip to an item, as well as pressing space to open the select, however if the user is typing something that has a space in it, the select will open and interrupt the user. These changes add some logic so that we don't trigger the panel while the user is typing. Fixes #17774.
jelbourn
pushed a commit
that referenced
this issue
Nov 26, 2019
…17785) We support typing into a select to skip to an item, as well as pressing space to open the select, however if the user is typing something that has a space in it, the select will open and interrupt the user. These changes add some logic so that we don't trigger the panel while the user is typing. Fixes #17774.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Reproduction
repro: https://stackblitz.com/edit/angular-hr8bq9
Steps to reproduce issue 1:
Steps to reproduce issue 2:
Expected Behavior
What behavior were you expecting to see?
Space does not open/close the select when typeahead is being performed. " " character should be treated as part of the typeahead as long as the debounce time has not yet cleared.
Actual Behavior
What behavior did you actually see?
Space always opens the select when closed and always closes the select and selects an option when it is open.
Environment
The text was updated successfully, but these errors were encountered: