iron-icons dependency ordering bug

18 views
Skip to first unread message

ihab...@gmail.com

unread,
Aug 21, 2015, 2:42:05 PM8/21/15
to polymer-dev
Hey folks,

I would like to ask about this bug:


Is there any workaround available? Should I delve into further debugging? I have verified with a very simple example (see below) that merely async-ly initializing my custom elements does not reproduce the problem. On the other hand, it's sort of bringing my work to a bit of a grinding halt at the moment.... Insights greatly appreciated, thank you!

Ihab

<html>
  <head>
    <script src="../bower_components/webcomponentsjs/webcomponents.js"></script>
    <link rel="import" href="../bower_components/polymer/polymer.html">
    <link rel="import" href="../bower_components/iron-icons/iron-icons.html">
  </head>
  <body>
    <dom-module id="my-wrapper">
      <template>
        <iron-icon icon="arrow-back"></iron-icon>
      </template>
    </dom-module>
    <my-wrapper></my-wrapper>
    <script type="text/javascript">
      "use strict";
      window.setTimeout(function() {
        Polymer({
          is: 'my-wrapper',
        });
      }, 5000);
    </script>
  </body>
</html>


--
Ihab A.B. Awad, Palo Alto, CA

Rob Dodson

unread,
Aug 24, 2015, 12:35:30 PM8/24/15
to ihab...@gmail.com, polymer-dev
I +1'd the ticket. Also running into this with my own app :\ You could create a custom iconset, then you could try using Polymer.importHref to import iron-icon only after your iconset has loaded. I haven't given that a shot yet but it might resolve the issue

Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups "Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to polymer-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/CAG7xX7oX%2BhjgHaX%3DR-_5R9ipsxewFXK9nxHu5w51Co8-RJH5vQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages