mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-10-31 08:13:50 +00:00
Expanding a long attachment list made the composer unusable. With a few dozen files, "+N" grew the chip row past the bottom of the composer: the last rows were off-screen, the send toolbar went with them, and nothing scrolled, so the only way out was to collapse the list again. The row is a shrink-0 sibling of the body's scroll container, so every pixel it takes comes out of the composer and out of nothing else, and it has no scroller of its own. Collapsed that is fine - three chips and a counter. Expanded, its height is the attachment count. So bound it when it is expanded and let it scroll itself. 30vh keeps the toolbar on screen on a laptop and still shows several rows; collapsed behaviour is untouched, since three chips never needed a cap. overscroll-contain stops a scroll that reaches the end of the list from continuing into the message body behind it, which is the usual annoyance once a small scroller appears next to a large one.