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 Does not work with ShadowDOM v1 #5772

Open
valyrie97 opened this issue Mar 27, 2018 · 1 comment
Open

waves-effect Does not work with ShadowDOM v1 #5772

valyrie97 opened this issue Mar 27, 2018 · 1 comment

Comments

@valyrie97
Copy link

Expected Behavior

assuming the stylesheet has been imported into the Shadow Root properly, and is locally scoped, the waves effect should still be applied to anything with the waves-effect class.

Current Behavior

Currently, the effect does not render if the element with waves-effect is inside of a shadow root, be it open or closed.

Possible Solution

My first thought is that there is a search somewhere in the javascript looking for the class, but when it reaches a shadow root, the search doesnt go any further. If i could give Materialize a reference to my Local shadow root, it could also search there.

Steps to Reproduce (for bugs)

Context

At My company We use ShadowDOM for Encapsulating Our Web Component modules, similar to something like Polymer.

Your Environment

I'm running Chrome 65 on Windows 10, build 16299.

@CodeF0x
Copy link

CodeF0x commented Nov 15, 2019

An update on this would be great, I'm having a similar problem!

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

No branches or pull requests

2 participants