-
Notifications
You must be signed in to change notification settings - Fork 5k
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
[Feature Request] Ripple effect should be self-sufficient #1096
Comments
I found a simple way to get it to work. Check it out. All you have to do is make the element positioned, give it |
I think this is more a problem with the ripple component not being built to stand by itself. The button JS handles setting up the ripple effect for itself for example. Ideally, this logic should be handled within the ripple JS so you can just toss it into anything and it would work. I think this is an artifact from the WSK library setup. We can document what is needed for the ripple element now, but fixing it properly may not be possible until the next major. |
@nickretallack thanks for the tip! works great. |
Closing; superseded by #4467 The v2 ripple will be much more self-contained than v1, and any limitations on where it can be placed within the DOM will be well documented. We are still in the very early stages of v2 and are currently working towards an alpha. Our |
I tried to put an
mdl-js-ripple-effect
on amdl-navigation__link
but it just threw an error:I'm having trouble inserting break points into the minified code to find out why. Anyway, it'd be nice if ink effects could work on arbitrary divs. Or at least if they would support
mdl-navigation__link
like they do the very similarmdl-menu__item
The text was updated successfully, but these errors were encountered: