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

User DOM not found when rendering multiple <content>'s as a result of a batched "set" #2151

Closed
akagomez opened this issue Dec 24, 2015 · 0 comments · Fixed by #2152
Closed
Assignees
Milestone

Comments

@akagomez
Copy link
Contributor

This is a complex and specific use case, so I had a hard time titling this issue. See the demo:

http://jsbin.com/bacuba/3/edit?html,js,console,output#J:L30-34

The example will work as expected if:

  • If the Light DOM does not contain a component
  • If the "set" that causes the Light DOM to be added is not batched

While researching with @justinbmeyer we were able to determine that the content property is removed here and not added back here before the next item is rendered.

When not batched, this isn't the case. The content property is unset/set before progressing to the next item in the series.

/cc @imjoshdean

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants