Description
In the inbox, if you've scrolled down several screenfuls through a section (either the all-DMs section or a stream section), you can still collapse the section by tapping the collapse icon on the stream header.
But when you do that, something confusing happens: everything that was below the last item in the section (which may or may not be onscreen) gets shifted upward by the whole vertical space that used to be occupied by the section. Since you'd been scrolling so much, the shift ends up putting some content offscreen in the upward direction. That's confusing because you might have been interested in that content, and skipping over it wasn't part of your intention when you collapsed a section that was unrelated to the content.
In this screen recording, the scenario happens multiple times in a row, with #issues
, #design
, and then #development help
taking its turn to be the section that's partly scrolled through, and getting its sticky header tapped to collapse it.
I think the confusion would disappear if, when you press the sticky-header's collapse icon, we ensure that the collapsed header (the one that always moves, not the sticky one) is entirely visible on the screen, by changing the scroll position. We can try using something like Scrollable.ensureVisible
for that. That way you can see that the section was collapsed, as intended, and the start of the next section is immediately below it and easy to start reading.
Metadata
Metadata
Assignees
Type
Projects
Status