iron-data-table icon indicating copy to clipboard operation
iron-data-table copied to clipboard

Data binding issue with iron-list 1.3.9 when table is inside of "dom-if" template

Open web-padawan opened this issue 9 years ago • 5 comments

iron-list v 1.3.9 has introduced some changes related to the painting performance. As a result, in some cases data binding does not propagate (and only works for first item).

There is definitely some kind of "first item magic" here. Still investigating the reason, will try to add more details soon.

web-padawan avatar Sep 16 '16 06:09 web-padawan

Thanks for the report!

At least in the previous versions so far, iron-list first renders one item, measures the height and tries to calculate how many items more are needed to cover the viewport.

Saulis avatar Sep 16 '16 06:09 Saulis

I am having the same issue as well. It will update the first item of each lazy-loaded "page"

malthusyau avatar Sep 16 '16 16:09 malthusyau

Can you guys modify this jsbin so that it reproduces the issue? http://jsbin.com/luzofe/edit?html,output

Saulis avatar Sep 21 '16 10:09 Saulis

@Saulis see http://jsbin.com/nugixaziwe/1/edit?html,console,output

web-padawan avatar Sep 21 '16 11:09 web-padawan

seems that bug is only reproduced when inside of dom-if template.

web-padawan avatar Sep 21 '16 11:09 web-padawan