ionic-framework icon indicating copy to clipboard operation
ionic-framework copied to clipboard

collection-repeat: Order is not preserved

Open michelalbers opened this issue 12 years ago • 35 comments

Hi,

if you use collection-repeat with several items the order of the items is not preserved. You can specify a track by function on your own but that doesn't change anything.

best, Michel

michelalbers avatar Jul 18 '14 19:07 michelalbers

Hi @michelalbers, what do you mean by 'not preserved'?

Could you post a codepen?

ajoslin avatar Jul 18 '14 23:07 ajoslin

I use Collection-Repeat with Images in a 3 Column Grid. When scrolling up or down the elements change their order.

I will provide a codepen if further information is needed.

Am 19 Jul 2014 um 01:40 schrieb Andrew Joslin [email protected]:

Hi @michelalbers, what do you mean by the 'not preserved'?

— Reply to this email directly or view it on GitHub.

michelalbers avatar Jul 19 '14 09:07 michelalbers

Yes, I think I understand the problem now. Could you post a codepen anyway?

ajoslin avatar Jul 19 '14 15:07 ajoslin

So not really the set-up described above, but the issue is there.

http://codepen.io/mhartington/pen/dzLEo

mhartington avatar Jul 25 '14 14:07 mhartington

I am also facing similar kind of issues Please have a look into it :+1:

https://github.com/driftyco/ionic/issues/1842

h4ck3rviv3k avatar Jul 25 '14 19:07 h4ck3rviv3k

+1

timmyg avatar Aug 15 '14 04:08 timmyg

This doesnt appear fixed in the codepen even with the nightly build. It looks like the new code is in the nightly build js, but it is sitll "clicking" a list item further down in the page when you click one at the top. Didnt work for me in my project either. @mhartington

timmyg avatar Aug 20 '14 18:08 timmyg

@ajoslin any ideas on this one? It's holding up our app from being released. Have a checklist and it is checking items further down the list, confusing users obviously. Am happy to dig in if you can get me started.

timmyg avatar Sep 03 '14 18:09 timmyg

+1 :)

timmyg avatar Oct 04 '14 14:10 timmyg

We use 1.0.0-beta 12 and have the same issue, any ideas on when you are going to fix it?

alextrs avatar Nov 03 '14 14:11 alextrs

+1

krlwlfrt avatar Nov 27 '14 17:11 krlwlfrt

does anyone have any idea/hack for this bug? Spent a few hours on it but not getting anywhere... @ballmw I know you've done some ionic :)

timmyg avatar Dec 19 '14 13:12 timmyg

+1

mixersoft avatar Jan 09 '15 11:01 mixersoft

+1

pulakb avatar Jan 09 '15 13:01 pulakb

+1

benjoz avatar Jan 09 '15 14:01 benjoz

:+1:

unr avatar Jan 22 '15 18:01 unr

+1 What is that status on this? Is it being worked on or should I just abandon collection repeat for now?

tslater avatar Feb 03 '15 22:02 tslater

Currently, I've been using Infinite Scroll instead.

unr avatar Feb 04 '15 02:02 unr

Working on this now.

ajoslin avatar Feb 06 '15 20:02 ajoslin

Can you guys try this in the nightly build? This should be fixed.

ajoslin avatar Feb 06 '15 21:02 ajoslin