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

Unable to query slotted nodes created by dom-repeat #4167

Closed
1 task done
TomK opened this issue Nov 21, 2016 · 1 comment
Closed
1 task done

Unable to query slotted nodes created by dom-repeat #4167

TomK opened this issue Nov 21, 2016 · 1 comment

Comments

@TomK
Copy link

TomK commented Nov 21, 2016

When slotting a dom-repeat, i am unable to query the generated items.
Possible regression of #2276

Live Demo

http://codepen.io/oridan/pen/JbWrxv?editors=1000

Expected Results

console log should show something like:
[x-items] [slot]

Actual Results

console log shows
[] [slot]

Browsers Affected

  • Chrome

Versions

  • Polymer: 2.0-preview
  • webcomponents: v1
@TomK
Copy link
Author

TomK commented Nov 22, 2016

Closing after discussion in slack. Thanks to @arthurevans suggestion of stamping elements into light dom as follows:

_attachDom: function (dom)
            {
              this.appendChild(dom);
            },

@TomK TomK closed this as completed Nov 22, 2016
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

1 participant