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 parent array inside iron-list not refreshing properly #82

Closed
Compufreak345 opened this issue Aug 25, 2015 · 2 comments
Closed
Labels

Comments

@Compufreak345
Copy link

Hi,

I've got a dom-repeat inside an iron-list, bound to an array in the parent element and I am adding items to the array. The dom-repeat inside the iron-list does not refresh, if I do the same inside another dom-repeat instead of the iron-list it does.

I wrote a small example for this, the issue gets visible when clicking on the second button :
http://jsbin.com/jebudar/6/edit?html,output

Another interesting thing : On my local project I tried using a custom element containing the dom-repeat instead of nesting the dom-repeat directly. If I add an observer there :

            observers:[
                "_listChanged(list2.*)"
            ],

It fires when I add an element, but the change-array is always empty.

Is this intended behavior or is this a bug?

/edit : This might be releated to #75

@blasten
Copy link
Contributor

blasten commented Aug 26, 2015

This issue is confirmed.

@blasten
Copy link
Contributor

blasten commented Oct 9, 2015

@Compufreak345 This issue is fixed now, you can just bower update now

@blasten blasten closed this as completed Oct 9, 2015
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