Closed jasonmit closed 9 years ago
Awesome :+1:
@jasonmit awesome work!
https://github.com/emberjs/ember.js/commit/2a747379d06ce7a4d975349c81a0abd8e5d39a0e is what ended up breaking list-view on 1.9. I should have this fixed shortly..
Custom build of 1.9 with that commit reverted http://jsbin.com/sivaxidade/1/edit?html,js,output
That change came from https://github.com/emberjs/ember.js/pull/9716. Extending to create a new view for every {{each}}
is very costly.
Why does this change break list-view?
@rwjblue I just know this line breaks list-view: https://github.com/emberjs/ember.js/commit/2a747379d06ce7a4d975349c81a0abd8e5d39a0e#diff-a0d09bb980f6aac41530e708d6ea31a8R276
I will have some bandwidth today to look deeper into the cause.
Update: should be a simple fix.. we're overriding arrayDidChange on the ContainerView which doesn't take into account _itemViewProps
The only remaining issue is if you have a yield block, the template renders empty.
Working Example: http://jsbin.com/qurutejeja/1/edit?html,js,output
Not Working:
https://github.com/emberjs/list-view/commit/83d006f6decf46d3aa182fc369362951a6a872c9 will work with 1.9 and 1.8.x
This should be finished tomorrow.
/cc @stefanpenner