I am creating an expandable list with sticky heade...
# compose
r
I am creating an expandable list with sticky headers. The issue is, when I collapse the sticky header, and if any item within that section is scrolled beyond screen, collapsing the section will result in "scroll to next item" (another header). I've also noticed that, if none of the item is scrolled up, the header will stay sticky and visible. What I want is, no matter how many items from the header is scrolled beyond screen, when collapsed, I want to keep that header sticky and visible. Source code is in thread.
minimum reproducible example code