Skip to content

fix(material/slide-toggle): overly broad selector#32740

Merged
crisbeto merged 1 commit intoangular:mainfrom
crisbeto:32736/slide-toggle-selector
Feb 7, 2026
Merged

fix(material/slide-toggle): overly broad selector#32740
crisbeto merged 1 commit intoangular:mainfrom
crisbeto:32736/slide-toggle-selector

Conversation

@crisbeto
Copy link
Member

@crisbeto crisbeto commented Feb 3, 2026

Fixes that the label:empty selector in the slide toggle was applying to all labels on the page.

Fixes #32736.

Fixes that the `label:empty` selector in the slide toggle was applying to all labels on the page.

Fixes angular#32736.
@crisbeto crisbeto added the target: patch This PR is targeted for the next patch release label Feb 3, 2026
@pullapprove pullapprove bot requested review from ok7sai and wagnermaciel February 3, 2026 12:13
@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label Feb 3, 2026
@crisbeto crisbeto merged commit bee5511 into angular:main Feb 7, 2026
29 of 31 checks passed
@crisbeto
Copy link
Member Author

crisbeto commented Feb 7, 2026

This PR was merged into the repository. The changes were merged into the following branches:

crisbeto added a commit that referenced this pull request Feb 7, 2026
Fixes that the `label:empty` selector in the slide toggle was applying to all labels on the page.

Fixes #32736.

(cherry picked from commit bee5511)
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/slide-toggle 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-slide-toggle): do not leak component styles to global styles ("label:empty" selector)

2 participants