Open
Description
iron-selectable loads its items in an async fashion: see line 217 forceSynchronousItemUpdate of iron-selectable.
So when this selector is attached items are not available: patch
Index: polymer-starter-kit-1.2.3/app/bower_components/plastik-lazy-route-selector/plastik-lazy-route-selector.html
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- polymer-starter-kit-1.2.3/app/bower_components/plastik-lazy-route-selector/plastik-lazy-route-selector.html (revision )
+++ polymer-starter-kit-1.2.3/app/bower_components/plastik-lazy-route-selector/plastik-lazy-route-selector.html (revision )
@@ -244,7 +244,9 @@
this._managedSelector.addEventListener(
'neon-animation-finish', this._animationFinished.bind(this));
}
- this._updateRoutes();
+ this._managedSelector.addEventListener(
+ 'iron-items-changed', this._updateRoutes.bind(this)
+ );
},
_managedSelector: null,
_placeholdersToClear: [],
Metadata
Assignees
Labels
No labels
Activity