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

Variables in the parent scope are not passed during initialization. #107

Closed
blasten opened this issue Sep 27, 2015 · 3 comments
Closed

Variables in the parent scope are not passed during initialization. #107

blasten opened this issue Sep 27, 2015 · 3 comments
Assignees
Labels

Comments

@blasten
Copy link
Contributor

blasten commented Sep 27, 2015

This issue was also reported in #82, #75 and PolymerElements/iron-media-query#15 (comment).

jsbin: http://jsbin.com/lezada/edit?html,output

@kevinpschaaf if the items are set synchronously, then it works as expected. I believe this is the reason why the smoke test works. Is there anything we forgot to do?

@kevinpschaaf
Copy link
Contributor

Root-caused to https://github.com/Polymer/polymer/blob/master/src/lib/template/templatizer.html#L385-L389; parent props need to be pulled from the <template> rather than the <iron-list> element.

@kevinpschaaf
Copy link
Contributor

@blasten Polymer/polymer#2504 is now resolved; can you confirm in iron-list and close? Thanks.

@blasten
Copy link
Contributor Author

blasten commented Oct 9, 2015

It's confirmed! Thanks for fixing it! jsbin: http://jsbin.com/lezada/edit?html,output

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

No branches or pull requests

2 participants