I use Polymer to make a site. I'm currently having problems with paper-ripple . Now the problem is that the ripple does not appear when h2 or h3 pressed even when deleting the <div class='description'> -tag and closing the tab. Considering the size of paper-ripple , it covers all <div class='album-header'> , so this should not be a problem.
In addition, pressing the <div class='description'> button in the pad area also causes ripple.
<div class="album-header" vertical layout on-tap="{{albumTapped}}"> <paper-ripple class="recenteringTouch" fit></paper-ripple> <content select="img"></content> <div class="description"> <content select="h2"></content> <content select="h3"></content> </div> </div>
Edit:
I did some additional testing and I narrowed down the problem. Take a look at this example. Applying styles to children elements does not present any problems unless you also assign opacity. In the example provided in the link, the green text received opacity. Clicking on this text does not create ripples for me (works in Chrome 36). (The purpose of the green color has nothing to do with it, just to make it easier to determine). Clicking on this <h3> tag anywhere causes ripple.
source share