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
This can happen when, for example, and element queries its owner root via Polymer.dom(this).getOwnerRoot() while it is inside a documentFragment like a dom-if. The owner root should be null in this case, but if the element is subsequently added to a root, the owner root should be updated. It does not, in this case because when the node is added, for performance reasons Polymer.dom avoids resetting owner roots inside this tree specifically if the tree is a documentFragment.
Alternatively, we can ensure that owner roots are never cached when an element is not in the document. This should be a better approach and maintain good performance.
The text was updated successfully, but these errors were encountered:
This can happen when, for example, and element queries its owner root via
Polymer.dom(this).getOwnerRoot()
while it is inside a documentFragment like a dom-if. The owner root should be null in this case, but if the element is subsequently added to a root, the owner root should be updated. It does not, in this case because when the node is added, for performance reasons Polymer.dom avoids resetting owner roots inside this tree specifically if the tree is a documentFragment.Alternatively, we can ensure that owner roots are never cached when an element is not in the document. This should be a better approach and maintain good performance.
The text was updated successfully, but these errors were encountered: