Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
userquin opened this issue Feb 5, 2016 · 0 comments
Open

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

userquin opened this issue Feb 5, 2016 · 0 comments

Comments

@userquin
Copy link

userquin commented Feb 5, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant