-
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-autocomplete panel reopens again after browser tab switch #12337
Labels
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Comments
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Jul 25, 2018
Fixes a closed autocomplete being reopened, if the user moves to another tab and coming back to the current one, while the input is still focused. Fixes angular#12337.
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Jul 25, 2018
Fixes a closed autocomplete being reopened, if the user moves to another tab and coming back to the current one, while the input is still focused. Fixes angular#12337.
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Jul 25, 2018
Fixes a closed autocomplete being reopened, if the user moves to another tab and coming back to the current one, while the input is still focused. Fixes angular#12337.
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Aug 3, 2018
Fixes a closed autocomplete being reopened, if the user moves to another tab and coming back to the current one, while the input is still focused. Fixes angular#12337.
jelbourn
pushed a commit
that referenced
this issue
Aug 23, 2018
Fixes a closed autocomplete being reopened, if the user moves to another tab and coming back to the current one, while the input is still focused. Fixes #12337.
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.
Labels
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Bug, feature request, or proposal:
What is the expected behavior?
Autocomplete panel should stay closed regardless of whether it has the focus when the user switches browser tab.
What is the current behavior?
Autocomplete panel reopens itself after the user switches browser tab, without user's interaction. See steps below.
What are the steps to reproduce?
Note that it works as expected if the user remove focus from the drop down in step 2). Switching tab doesn't reopen the autocomplete panel.
What is the use-case or motivation for changing an existing behavior?
It's confusing for the user when the autocomplete panel reopens itself again without user's interaction. The user selected an option. The autocomplete panel state should be closed.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 6.4.1 (the one running on material.angular.io), Linux, latest Chrome.
Is there anything else we should know?
The text was updated successfully, but these errors were encountered: