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

fix(material/button): stack icons on top of touch target #29291

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

crisbeto
Copy link
Member

Some time ago we started stacking the button's text on top of the ripple and touch target for accessibility reasons, but we didn't apply the same to icons.

Fixes #28888.

Some time ago we started stacking the button's text on top of the ripple and touch target for accessibility reasons, but we didn't apply the same to icons.

Fixes angular#28888.
@crisbeto crisbeto added the target: patch This PR is targeted for the next patch release label Jun 20, 2024
@crisbeto crisbeto requested a review from a team as a code owner June 20, 2024 11:56
@crisbeto crisbeto requested review from amysorto and andrewseguin and removed request for a team June 20, 2024 11:56
@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label Jun 25, 2024
@crisbeto crisbeto merged commit f67ffa5 into angular:main Jun 25, 2024
22 of 25 checks passed
crisbeto added a commit that referenced this pull request Jun 25, 2024
Some time ago we started stacking the button's text on top of the ripple and touch target for accessibility reasons, but we didn't apply the same to icons.

Fixes #28888.

(cherry picked from commit f67ffa5)
crisbeto added a commit to crisbeto/tensorboard that referenced this pull request Jul 3, 2024
An upcoming change in Angular Material (angular/components#29291) changes the `z-index` of icons which ended up putting it behind the notification dot.

This change adds an explicit `z-index` to the dot to ensure that it's on top of the icon.
hoonji pushed a commit to tensorflow/tensorboard that referenced this pull request Jul 3, 2024
An upcoming change in Angular Material
(angular/components#29291) changes the `z-index`
of icons which ended up putting it behind the notification dot.

This change adds an explicit `z-index` to the dot to ensure that it's on
top of the icon.
DBowen33 pushed a commit to DBowen33/components that referenced this pull request Jul 3, 2024
Some time ago we started stacking the button's text on top of the ripple and touch target for accessibility reasons, but we didn't apply the same to icons.

Fixes angular#28888.
@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 Jul 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker 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(matTooltip): Tooltip not displaying when mat-icon is nested within mat-button
2 participants