Open jameslegue opened 9 years ago
It doesn't duplicate them it just leaves the old headers in.
I'm also having this issue. Any idea on how to solve this?
No - I considered trying this: http://forum.ionicframework.com/t/generating-list-with-dividers-dynamically/341/5 but I am not keen on it.
Thanks. I do not like that approach too. Gonna keep searching for a better one.
someone has solved this bug?
+1
+1
I fixed this bug, but to make sure I was only removing the headers on a single view, I had to pass in another attribute from the ng-repeat tag. I've push those changes to a fork (with updates to the README) but I'm hesitant to make a pull-request because it is a pretty substantial change. You can see my work here: https://github.com/zvineyard/ionic-ion-autoListDivider
Should I pull-request this?
fix from zvineyard works great. thank you)
Pulled this directive in, and when doing a pull to refresh on this directive with a list, it seems to duplicate the item-dividers that were initially inserted as dupes at the bottom of the list.