Skip to content

NOT WORKING with latest version of PSK (1.2.2 and 1.2.3) #7

Open
@userquin

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: [],

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions