SIGN IN SIGN UP

chat: avoid session switch height flicker (#319227)

* chat: avoid session switch height flicker

Only schedule first-measurement chat row height updates when the measured row would otherwise exceed the list's allocated height. This preserves the cutoff fix from PR 318385 without reintroducing first-measurement relayouts for rows that already fit. (Written by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* chat: handle fractional row height allocations

Compare initial chat row measurements against the actual allocated height instead of the ceiled allocation so fractional row heights still schedule a corrective update when they would clip content. (Written by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
R
Rob Lourens committed
1ec0e888245715a58ccd42565c3105846700aa88
Parent: cdea356
Committed by GitHub <noreply@github.com> on 6/1/2026, 4:56:47 AM