Skip to content

fix(material/autocomplete): default to transparent backdrop #31647

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

Merged

Conversation

crisbeto
Copy link
Member

@crisbeto crisbeto commented Aug 5, 2025

The autocomplete was leaving the backdropClass as undefined which meant that it would default to a dark one, if the user opted into it having a backdrop.

Fixes #31614.

The autocomplete was leaving the `backdropClass` as undefined which meant that it would default to a dark one, if the user opted into it having a backdrop.

Fixes angular#31614.
@crisbeto crisbeto requested a review from a team as a code owner August 5, 2025 09:44
@crisbeto crisbeto requested review from andrewseguin and wagnermaciel and removed request for a team August 5, 2025 09:44
@crisbeto crisbeto added the target: patch This PR is targeted for the next patch release label Aug 5, 2025
@crisbeto crisbeto removed the request for review from wagnermaciel August 6, 2025 05:23
@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label Aug 6, 2025
@crisbeto crisbeto merged commit 845a691 into angular:main Aug 6, 2025
26 of 29 checks passed
@crisbeto
Copy link
Member Author

crisbeto commented Aug 6, 2025

The changes were merged into the following branches: main, 20.1.x

crisbeto added a commit that referenced this pull request Aug 6, 2025
The autocomplete was leaving the `backdropClass` as undefined which meant that it would default to a dark one, if the user opted into it having a backdrop.

Fixes #31614.

(cherry picked from commit 845a691)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action: merge The PR is ready for merge by the caretaker area: material/autocomplete target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug(mat-autocomplete): when no backdropClass is set, defaults to cdk-overlay-dark-backdrop instead of cdk-overlay-transparent-backdrop
2 participants