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

data bound in item templates do not render w/o interaction on 2.0-preview #445

Closed
1 of 8 tasks
ktiedt opened this issue May 19, 2017 · 7 comments
Closed
1 of 8 tasks

Comments

@ktiedt
Copy link

ktiedt commented May 19, 2017

Description

Working with 2.0-preview branch, my iron-list templates all render the static content but none of the bound data... This can be "fixed" one of several ways it seems (not code fix, but rendering fixed)

  1. if I grab one of the templated items and modify one of the values, everything seems to render like magic then
  2. scrolling the list down will render the 2nd set/page of items and everything below them... scrolling back up will render the 1st set/page as well EXCEPT for the 1st item... The only way to get it to render is to modify that specific set of properties...

For comparison, I tested with dom-repeat as well... it worked no problem.

Expected outcome

List items render bound data properly when data is supplied

Actual outcome

List is not rendering any bound data initially

Live Demo

(I will get this setup tomorrow/today (almost 4am right now)

Steps to reproduce

(will edit this as well once the demo is available)

Browsers Affected

  • Chrome (only tested here so far)
  • Firefox
  • Safari 9
  • Safari 8
  • Safari 7
  • Edge
  • IE 11
  • IE 10
@frankiefu
Copy link
Contributor

This seems like related to Polymer/polymer#4601

@ktiedt
Copy link
Author

ktiedt commented May 19, 2017

Just checked the patch for that issue and it is the same problem, thanks @frankiefu for matching those up, never would have thought to look at those issues! Also thanks to @sorvell for the fix!

@RoXuS
Copy link

RoXuS commented May 23, 2017

👍

@ktiedt
Copy link
Author

ktiedt commented May 24, 2017

Do we know when this will land in a release? (I suppose worst case I can make an exception and pull the branch for this fix or fork and apply it to a local repo but hoping to avoid more problems ;) )

@frankiefu
Copy link
Contributor

We are planning to do a Polymer release this week. Thanks for bearing with us!

@jonadeline
Copy link

I'm still experimenting this issue with Polymer 2.X

@keanulee
Copy link
Contributor

keanulee commented Oct 4, 2017

The original issue has been fixed since Polymer 2.0.1 (see https://raw-dot-custom-elements.appspot.com/PolymerElements/iron-list/v2.0.8/iron-list/demo/basic.html for demo). If you see another issue please make a new issue with appropriate details.

@keanulee keanulee closed this as completed Oct 4, 2017
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

5 participants