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
The iron-list element uses Polymer.dom(this).appendChild to attach items. It then needs to measure the item. Since Polymer.dom is asynchronous, it needs to either call flush or measure asynchronously. However, when the custom elements polyfill is used, after the item is asynchronously attached to dom, async to that any custom elements in the item fire their attached callback. This makes it difficult for iron-list to know when it can measure.
If Polymer.dom's rendering process also called CustomElements.takeRecords() then elements like iron-list would have a clear way to know when they can measure rendered items: call this.async or Polymer.dom.flush().
The text was updated successfully, but these errors were encountered:
…mutations and includes an api (`Polymer.dom.addDebouncer(debouncer)`) for adding debouncers which should run at flush time. Template rendering debouncers are placed in the flush list.
The
iron-list
element usesPolymer.dom(this).appendChild
to attach items. It then needs to measure the item. SincePolymer.dom
is asynchronous, it needs to either callflush
or measure asynchronously. However, when the custom elements polyfill is used, after the item is asynchronously attached to dom, async to that any custom elements in the item fire their attached callback. This makes it difficult foriron-list
to know when it can measure.If
Polymer.dom
's rendering process also calledCustomElements.takeRecords()
then elements likeiron-list
would have a clear way to know when they can measure rendered items: callthis.async
orPolymer.dom.flush()
.The text was updated successfully, but these errors were encountered: