fix(app): fade only arrivals that move the timeline a screen

This commit is contained in:
Kit Langton 2026-10-25 16:44:54 -07:00
parent 60ebaa307d
commit fc8d5cadd2

View file

@ -624,8 +624,8 @@ export function createTimelineVirtualizer(input: Input) {
const layer = following() ? drawnTop - previous.top : 0
// A commit that moves the followed end a whole screen, like a finished reply arriving in one update, leaves
// nothing on screen to carry: the rows rest at once and what arrived only fades in.
if (!disclosing && Math.abs(layer) >= layoutState.viewport - bottomInset()) {
// nothing on screen to carry: the rows rest at once and what arrived only fades in. Rows that only grew keep growing.
if (!disclosing && arrivals.size > 0 && Math.abs(layer) >= layoutState.viewport - bottomInset()) {
motion.cancel()
return fadeArrivals()
}