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
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.
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.
The text was updated successfully, but these errors were encountered: