-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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-experimental/mdc-button): add mdc ripple class for fab #21923
Conversation
@@ -1,4 +1,4 @@ | |||
<span class="mdc-button__ripple"></span> | |||
<span class="mdc-button__ripple mdc-fab__ripple"></span> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we conditionally apply these classes based on what type of button it is? i.e.
<span
[class.mdc-button__ripple]="!isFab"
[class.mdc-fab__ripple]="isFab">
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added a _isFab
property to button base
a03d9f7
to
963e72d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
963e72d
to
2cfe355
Compare
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
MDC button and MDC FAB are 2 different components but MDC based button and FAB share the same template.
Add
mdc-fab__ripple
to the mdc-button ripple element to receive MDC's FAB ripple styles.