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

Shady distribution failure when a dom-repeat is moved #2323

Closed
sorvell opened this issue Aug 20, 2015 · 1 comment
Closed

Shady distribution failure when a dom-repeat is moved #2323

sorvell opened this issue Aug 20, 2015 · 1 comment
Assignees
Labels

Comments

@sorvell
Copy link
Contributor

sorvell commented Aug 20, 2015

See: http://jsbin.com/lonuhi/edit?html,output

This occurs because when an element is added without removal, its composed data is incorrectly removed from its light parent rather than its composed parent.

At https://github.com/Polymer/polymer/blob/master/src/lib/dom-api.html#L292, node._composedParent should be used.

@sorvell sorvell added the p1 label Aug 20, 2015
@sorvell sorvell self-assigned this Aug 20, 2015
sorvell pushed a commit that referenced this issue Aug 20, 2015
…ition when they are added elsewhere, make sure to remove them from composed, not logical parent.
frankiefu added a commit that referenced this issue Aug 20, 2015
Fixes #2311, #2323: when elements are removed from their previous pos…
@sorvell
Copy link
Contributor Author

sorvell commented Aug 20, 2015

Fixed via aa3b9cc

@sorvell sorvell closed this as completed Aug 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant