Skip to content
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

.waves-effect blocks all child elements from overflowing #132

Open
cerlestes opened this issue Jul 16, 2015 · 0 comments
Open

.waves-effect blocks all child elements from overflowing #132

cerlestes opened this issue Jul 16, 2015 · 0 comments
Labels
Milestone

Comments

@cerlestes
Copy link

Problem
When applying the plugin to elements that have overflowing child elements (e.g. popups, tooltips within clickable lists), the overflow:hidden; given to the parent element by .waves-effect will cut off any other child element as well, which is unwanted.

Example
Example Image

Possible solutions

  1. Move the overflow:hidden; rule into a separate class that is only applied when rippling, or
  2. Add an intermediate container between parent element and ripples. This container would get the overflow:hidden; rule along with position:absolute; top:0; left:0; right:0; bottom:0; so that it takes the size of the parent element, without disturbing other child elements.

Note that the first solution might result in unexpected behaviour, which is why I'd strongly favor the second variant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants