Skip to content

Loading…

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

Closed
sorvell opened this Issue · 1 comment

1 participant

@sorvell
Owner

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
@sorvell sorvell self-assigned this
@sorvell sorvell referenced this issue from a commit
@sorvell sorvell Fixes #2311, #2323: when elements are removed from their previous pos…
…ition when they are added elsewhere, make sure to remove them from composed, not logical parent.
3d93116
@sorvell
Owner

Fixed via aa3b9cc

@sorvell sorvell closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.