-
Notifications
You must be signed in to change notification settings - Fork 2k
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
custom-style: using async import fails to shim styles #2481
Comments
@sorvell wanted to verify these two upgrades happen for sync and non-async: non-async case
async case
Results: In both cases, 3 and 4 are upgraded. Repo:
Drop this in a page and toggle the |
With |
I am upgrading to 1.1.3 and seeing a similar issue with elements that are created after ready(), Does that sound like the same issue? Also, is there a programmatic way to reapply the styles? |
Sounds different. This is about async imports. I doubt they're using them. select2 might not be using |
@ebidel Yep, that's the one. Confirmed. Thanks for the workaround |
Related: #2522 (comment) |
Also this one seems related: PolymerElements/iron-overlay-behavior#23 |
|
I came across this issue today when trying to add a splash screen following the polymer starter kit performance docs |
I am closing this issue as it suffers from the same root problem described in #2522. Please see #2522 (comment) and #2522 (comment) for more information. |
Using paper-styles.html (where polymer.html is a sub-import) fails to apply the styling - http://jsbin.com/fujiqixaki/edit?html,output:
Interestingly, using an async polymer.html on the main page WORKS - http://jsbin.com/tuxajomelo/edit?html,output:
The text was updated successfully, but these errors were encountered: