ionic-ion-autoListDivider icon indicating copy to clipboard operation
ionic-ion-autoListDivider copied to clipboard

Pull to Refresh duplicates item-dividers

Open jameslegue opened this issue 10 years ago • 9 comments

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.

jameslegue avatar Feb 10 '15 18:02 jameslegue

It doesn't duplicate them it just leaves the old headers in.

scotthooker avatar Feb 26 '15 21:02 scotthooker

I'm also having this issue. Any idea on how to solve this?

labcd avatar May 11 '15 23:05 labcd

No - I considered trying this: http://forum.ionicframework.com/t/generating-list-with-dividers-dynamically/341/5 but I am not keen on it.

Taylorsuk avatar May 15 '15 14:05 Taylorsuk

Thanks. I do not like that approach too. Gonna keep searching for a better one.

labcd avatar May 18 '15 06:05 labcd

someone has solved this bug?

MrPro100 avatar Aug 07 '15 10:08 MrPro100

+1

junerockwell avatar Oct 23 '15 17:10 junerockwell

+1

anonrig avatar Nov 01 '15 00:11 anonrig

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?

zvineyard avatar Dec 10 '15 22:12 zvineyard

fix from zvineyard works great. thank you)

Ontarion avatar Feb 16 '16 21:02 Ontarion