Skip to content

fix(material-experimental/mdc-button): add mdc ripple class for fab#21923

Merged
wagnermaciel merged 1 commit intoangular:masterfrom
annieyw:fab-ripple-clsS
Feb 26, 2021
Merged

fix(material-experimental/mdc-button): add mdc ripple class for fab#21923
wagnermaciel merged 1 commit intoangular:masterfrom
annieyw:fab-ripple-clsS

Conversation

@annieyw
Copy link
Copy Markdown
Contributor

@annieyw annieyw commented Feb 16, 2021

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.

@annieyw annieyw added P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent G This is is related to a Google internal issue target: patch This PR is targeted for the next patch release labels Feb 16, 2021
@google-cla google-cla bot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Feb 16, 2021
@@ -1,4 +1,4 @@
<span class="mdc-button__ripple"></span>
<span class="mdc-button__ripple mdc-fab__ripple"></span>
Copy link
Copy Markdown
Contributor

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">

Copy link
Copy Markdown
Contributor Author

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

Copy link
Copy Markdown
Contributor

@jelbourn jelbourn left a comment

Choose a reason for hiding this comment

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

LGTM

@jelbourn jelbourn added the action: merge The PR is ready for merge by the caretaker label Feb 18, 2021
Copy link
Copy Markdown
Contributor

@mmalerba mmalerba left a comment

Choose a reason for hiding this comment

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

LGTM

@mmalerba mmalerba added P2 The issue is important to a large percentage of users, with a workaround and removed P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent labels Feb 18, 2021
@angular-automatic-lock-bot
Copy link
Copy Markdown

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 Mar 29, 2021
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 cla: yes PR author has agreed to Google's Contributor License Agreement G This is is related to a Google internal issue 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