-
Notifications
You must be signed in to change notification settings - Fork 132
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
Ripple effect fails #93
Comments
Could you check to see if it's the `css "background-color"` that's the
problem?
|
I checked again, and removing the css properties has no effect. |
That is, this code fails?
If so, could you check that you are not re-using the index If so, can you provide a link to a github, so I can try to reproduce this? |
Here's the link to problematic button in my current work-in-progress: https://github.com/kittykatattack/adviceForWriters/blob/master/Questions.elm#L410-420 Sorry, it's a bit messy, and I'm not an Elm expert 👶 |
This is a bug in the getBoundingClientRect emulator: debois/elm-dom#4. A potential fix is given there; however, since proper Elm support for getBoundingClientRect (see above issue) is underway, I'll wait for that rather than hack around on elm-dom. Workaround.If a button fails to ripple, find every scrollable ancestor element of that button, and make sure that every such ancestor has explicitly set a CSS In your case, add
to |
Thank you so much, I really appreciate the help! |
The work-around did not work in my case. See #119 (comment) |
Hi!
I'm working on an app with buttons which use the ripple effect.
In one child module, the ripple effect works perfectly, using this code:
In another child module, the ripple fails using this code:
(The rest of the button's features work perfectly)
Can anyone suggest where the problem might lie?
The text was updated successfully, but these errors were encountered: