zulip-flutter icon indicating copy to clipboard operation
zulip-flutter copied to clipboard

msglist: Spoilers should always grow downward when they open

Open chrisbobbe opened this issue 5 months ago • 3 comments

With #503, we'll have support for spoilers! It has a glitch that won't be straightforward to fix, though, so I'm filing this to be worked on later.

The message list's growth direction is up, not down. As a result, when you open a spoiler, it grows up, but it would be better if it grew down, in the direction of the "expand" arrow. Here's what #503 looks like:

Feb-26-2024 14-36-29

It's possible that we'll eventually build the message list out of two back-to-back slivers, with opposite growth directions, instead of just one sliver that grows upward. This approach is being considered for a few issues:

  • #80
  • #82
  • #83

If that happens, then I guess spoilers might sometimes naturally grow downward, but only if they happened to be in the sliver that grows downward.

chrisbobbe avatar Feb 26 '24 22:02 chrisbobbe