zulip-flutter
zulip-flutter copied to clipboard
msglist: Spoilers should always grow downward when they open
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:
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.