You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the dom-repeat there is a detached callback that will clear all the list item when the dom detached. I think it should add an attached callback to recover the element, otherwise the dom list will gone, but the Polymer element still have that data keep on it.
Q: When will people detached a list and attach it some where again?
A: I have a panel system that can freely dock itself from one parent to another. If there is a dom-repeat list in it, when the panel moving and dock to other place, the items in the dom-repeat will be detached based on the code I found above, but never recover again when the panel dock to other element. But as you see, the panel element still have the list data, so it should be recovered.
In the
When I use
Polymer.dom(element("#second")).appendChild( element("#my-list") )
, the whole list inside it will be removed.The text was updated successfully, but these errors were encountered: