After I updated my angular 2 projet from RC4 to 2.0.1 I'm having a problem with a ngFor looping on an array of objects (It was working fine on RC4)
the list of sorted objects is not being updated properly on the DOM, they seem unsorted.
Steps to reproduce the bug /issue:
- here is the plnkr: plnkr
- Move the start/ stop bounds through the middle.
- Then move the draggable bar to the left / right.
- You'll see the elements displayed are being updated.
- At some point if you move to the left you'll see the elements being unsorted/mixed.
- I added on console log the id index from ngLoop. so you can see its unsorted when the problem occurs
I tried several things, but nothing worked:
- using a copy on the object
- using an array with the keys...
thank you for your help