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

SD polyfill in latest release breaks chromestatus.com #263

Closed
ebidel opened this issue Aug 30, 2013 · 2 comments
Closed

SD polyfill in latest release breaks chromestatus.com #263

ebidel opened this issue Aug 30, 2013 · 2 comments

Comments

@ebidel
Copy link
Contributor

ebidel commented Aug 30, 2013

Note, the live chromestatus.com is using an old version of polymer. You won't be able to repo this there.

When the list of features is filtered, I have a method that queries the shadow root:

filteredChanged: function() {
  this.asyncMethod(function() {
    featureLiList_ = this.shadowRoot.querySelectorAll('li'); // returns 0 nodes
  });
},

code here

this.shadowRoot.querySelectorAll('li') is now returning 0 nodes.

Running document.querySelector('chromedash-featurelist').shadowRoot.querySelectorAll('li') confirms this.

@dfreedm
Copy link
Member

dfreedm commented Aug 30, 2013

This may be related to Polymer/ShadowDOM#235

@ebidel
Copy link
Contributor Author

ebidel commented Sep 4, 2013

Fixed with the updates from https://github.com/Polymer/ShadowDOM/issues/235

@ebidel ebidel closed this as completed Sep 4, 2013
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