Skip to content

md-ripple effect should stay within clicked element #4275

Closed

Description

@mackelito

Bug, feature request, or proposal:

Bug

What is the expected behavior?

Ripple effect should be on clicked element only

What is the current behavior?

Effect leaks out over other elements

What are the steps to reproduce?

http://plnkr.co/edit/AG6Use4SUK0J0It31HNm?p=preview

Activity

  1. willshowell commented on Apr 26, 2017

    @willshowell
    Contributor

    The .md-ripple class adds overflow: hidden, but the ripple inside of it has a higher stacking context. For now, you can add this to have the ripple contained.

    md-card-title {
      position: relative;
      z-index: 1;
    }
    
  2. mmalerba commented on Apr 26, 2017

    @mmalerba
    Contributor

    The ripple's host element (md-card-title in your case) must have a position of relative, absolute or fixed (see: http://plnkr.co/edit/wMfRAcnLIR7GSoKVauRq?p=preview)

  3. angular-automatic-lock-bot commented on Sep 5, 2019

    @angular-automatic-lock-bot

    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.

  4. locked and limited conversation to collaborators on Sep 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions