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

[0.9.1, 0.9.2] Polymer.dom().appendChild() no longer working #1612

Closed
hawkett opened this issue May 25, 2015 · 1 comment
Closed

[0.9.1, 0.9.2] Polymer.dom().appendChild() no longer working #1612

hawkett opened this issue May 25, 2015 · 1 comment

Comments

@hawkett
Copy link

hawkett commented May 25, 2015

Change was introduced in 0.9.1

@sorvell
Copy link
Contributor

sorvell commented May 26, 2015

That this worked in 0.9.0 was actually a bug. The behavior you're seeing now is correct.

The iron-icon element is being added as a child to dynamic-add, but dynamic-add has a local DOM which renders in place of its children. In order to distribute/render children, add an insertion point (<content>) to dynamic-add like this:

http://jsbin.com/zodefo/1/edit?html,output

@sorvell sorvell closed this as completed May 26, 2015
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