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(autocomplete): mat-autocomplete remains opened when toggling datepicker #25960

Closed
1 task
andreidorinm opened this issue Nov 11, 2022 · 2 comments
Closed
1 task
Labels
needs triage This issue needs to be triaged by the team

Comments

@andreidorinm
Copy link

andreidorinm commented Nov 11, 2022

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

14

Description

The issue consists in having the datepicker and the mat-autocomplete opened at the same time.

Screenshot 2022-11-11 at 15 56 38

Reproduction

Steps to reproduce:

  1. First you open the mat-form-field that uses mat-autocomplete
  2. And now you try to toggle mat-datepicker at the same time and you can see that both of them remain opened

Expected Behavior

The desired outcome should be: When you toggle the mat-form-field that has mat-autocomplete on and then you toggle the mat-datepicker immediately after the mat-autocomplete one should close not remain opened.

Actual Behavior

Both of them remain opened

Environment

  • Angular: 14
  • CDK/Material: Material
  • Browser(s):Chrome
  • Operating System (e.g. Windows, macOS, Ubuntu): macOS
@andreidorinm andreidorinm added the needs triage This issue needs to be triaged by the team label Nov 11, 2022
@crisbeto
Copy link
Member

Same root cause as #17352.

@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 Dec 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs triage This issue needs to be triaged by the team
Projects
None yet
Development

No branches or pull requests

2 participants