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] mat-autocomplete doesn't close using displayWith under IE11 #9479

Closed
kevincaradant opened this issue Jan 19, 2018 · 1 comment · Fixed by #9506
Closed

[BUG] mat-autocomplete doesn't close using displayWith under IE11 #9479

kevincaradant opened this issue Jan 19, 2018 · 1 comment · Fixed by #9506
Assignees
Labels
P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Comments

@kevincaradant
Copy link

kevincaradant commented Jan 19, 2018

Bug, feature request, or proposal:

Bug
Similar to: #5165 (not duplicate)

What is the expected behavior?

mat-autocomplete-panel should be close after selected an option

What is the current behavior?

mat-autocomplete-panel continues to be opened even after to have selected an option

What are the steps to reproduce?

Run the stackblitz: https://stackblitz.com/edit/angular-gieptd

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

Angular 5.2.0
Node: 8.6.0
MAterial: 5.1.0
Windows 7 Pro 64 bits
TypeScript: 2.6.2

NB: For the moment, the workaround consists to use the reset function available on the formControl. IE11 worls properly in this context

@crisbeto crisbeto added P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent has pr labels Jan 21, 2018
crisbeto added a commit to crisbeto/material2 that referenced this issue Jan 21, 2018
…ith an empty string display value

Fixes the autocomplete panel reopening on IE11 when the user selects an option whose display value is an empty string.

Fixes angular#9479.
crisbeto added a commit to crisbeto/material2 that referenced this issue Jan 24, 2018
…ith an empty string display value

Fixes the autocomplete panel reopening on IE11 when the user selects an option whose display value is an empty string.

Fixes angular#9479.
crisbeto added a commit to crisbeto/material2 that referenced this issue Feb 2, 2018
…ith an empty string display value

Fixes the autocomplete panel reopening on IE11 when the user selects an option whose display value is an empty string.

Fixes angular#9479.
tinayuangao pushed a commit that referenced this issue Feb 3, 2018
…ith an empty string display value (#9506)

Fixes the autocomplete panel reopening on IE11 when the user selects an option whose display value is an empty string.

Fixes #9479.
@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 8, 2019
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
Projects
None yet
2 participants