You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.
paper-ripple requires a size and positioning to look correct within a container. Using the fit attribute is a convenient way to do this:
<div>
<paper-shadow z="2" animated></paper-shadow>
<paper-ripple fit></paper-ripple>
<button>I'm not clickable</button>
</div>
The problem is that the ripple overlays all other content when it's absolutely positioned. For example, the button is not clickable here: http://jsbin.com/zoqunoqu/1/edit. Adding pointer-events: none would be an option, but it makes the ripple effect not respond to clicks.
I've seen users get tripped up by this already. It would be nice for the element to layer itself correctly, by default.
The text was updated successfully, but these errors were encountered:
Not sure the desired behavior...
paper-ripple requires a size and positioning to look correct within a container. Using the
fit
attribute is a convenient way to do this:The problem is that the ripple overlays all other content when it's absolutely positioned. For example, the button is not clickable here: http://jsbin.com/zoqunoqu/1/edit. Adding
pointer-events: none
would be an option, but it makes the ripple effect not respond to clicks.I've seen users get tripped up by this already. It would be nice for the element to layer itself correctly, by default.
The text was updated successfully, but these errors were encountered: