Item-divider sticking to header?


What I need is something like that (which iOS already does natively):

When you have a scrollable list with item-dividers, after the item-divider goes out of the screen upwards, it sticks to the header until the next item-divider changes place with it.

I don’t know if I made it clear. But you can check it out on iOS’s Contacts app: The item-dividers are the letters, and when they leave screen, they are attached to the header and keep being visible while you scroll the items in its category.


Take a look here:

Look for the chapter 13: Ion Affix and chapter 19: Ion Sticky. You will also find links to working examples.


Ion Sticky is exactly what I needed. Also that website has some really useful resources. Thanks!


Thanks and come back soon :smile: