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

Add sticky headers

Open jimthedev opened this issue 10 years ago • 4 comments

Hi,

Great work. It would be fantastic to see some performance benchmarks for this list. With that, it would be fantastic if sticky headers was added as a potential option:

Here is a demo of what I mean: http://codepen.io/anon/pen/EawXRO

And here is the forum thread and trello board vote: http://forum.ionicframework.com/t/sticky-list-headers/689/33 https://trello.com/c/kGTvppdl/57-ion-list-sticky-items

It'd be interesting to see if the intent of the ionic team is to pull this kind of functionality into ionic core or if they'd prefer to keep it out as plugins. There are probably pretty good arguments for both.

jimthedev avatar Feb 08 '15 22:02 jimthedev

Will take a look at this. :)

Note to self: Use http://codepen.io/mhartington/pen/XJeVLm as reference point.

andrewmcgivery avatar Feb 09 '15 00:02 andrewmcgivery

Also, regarding pulling this into core, I opened an issue asking if they are interested.

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

andrewmcgivery avatar Feb 09 '15 00:02 andrewmcgivery

Great, thanks @andrewmcgivery.

jimthedev avatar Feb 09 '15 20:02 jimthedev

@andrewmcgivery The list dividers are very helpful thanks! Please add the sticky list headers if possible. Unlike other sticky components, this one doesn't have "item-container"s to tell dividers how long to be sticky. Anyway to get around that? The plugin Ion-sticky doesn't seem to work well with scroll sista and others.

JCsplash avatar Jan 17 '16 00:01 JCsplash