skrivanos

Incompatible with Shadow DOM?

Recommended Posts

Hi,

 

I'm using Polymer and I'm trying to place a chart inside a polymer element. Due to the nature of Polymer, elements are placed inside a Shadow Root. This leads to this error when trying to render the chart:

 

W8Gsngs.png

 

This seems to be caused by iterating up the DOM tree from the renderAt element, and only stopping when encountering the document node. This could probably be fixed by stopping when encountering the Shadow Root as well.

 

Versions tested: 3.8.0, 3.11.0

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now