Skip to content

fix(material/stepper): remove ripple and hover styling for disabled step #23386

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

amysorto
Copy link
Contributor

No description provided.

@amysorto amysorto requested a review from mmalerba as a code owner August 16, 2021 22:00
@google-cla google-cla bot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Aug 16, 2021
@amysorto amysorto requested review from jelbourn and zarend August 16, 2021 22:01
@amysorto amysorto added Accessibility This issue is related to accessibility (a11y) P2 The issue is important to a large percentage of users, with a workaround target: minor This PR is targeted for the next minor release target: patch This PR is targeted for the next patch release and removed target: minor This PR is targeted for the next minor release labels Aug 16, 2021
Copy link
Contributor

@zarend zarend left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@@ -17,10 +17,14 @@
.mat-step-header {
&.cdk-keyboard-focused,
&.cdk-program-focused,
&:hover {
&:hover:not([aria-disabled]) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will cover aria-disabled="false" as well. Should the selector be more specific?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right now we only add the aria-disabled attribute when its equal to true. Although I think being more specific makes sense in case that ever changes

@amysorto amysorto force-pushed the remove-ripple-and-hover-from-disabled-step branch 3 times, most recently from fb2aac3 to 87909f5 Compare August 18, 2021 18:43
@amysorto amysorto force-pushed the remove-ripple-and-hover-from-disabled-step branch from 87909f5 to ac53074 Compare August 18, 2021 19:18
@mmalerba mmalerba added the action: merge The PR is ready for merge by the caretaker label Aug 18, 2021
@amysorto amysorto merged commit b5b262d into angular:master Aug 24, 2021
amysorto added a commit that referenced this pull request Aug 24, 2021
@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 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Accessibility This issue is related to accessibility (a11y) action: merge The PR is ready for merge by the caretaker cla: yes PR author has agreed to Google's Contributor License Agreement P2 The issue is important to a large percentage of users, with a workaround target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants