fix(app): anchor image growth during timeline reload

Intrinsic image dimensions can arrive after the timeline has painted, outside the React segment-change path. Let the browser preserve the visible content anchor during that resize instead of exposing a frame before the deferred bottom correction.
This commit is contained in:
Mohamed Boudra
2026-08-07 08:26:39 +02:00
parent c352632b74
commit 3a6d6db9a5
2 changed files with 126 additions and 2 deletions
@@ -1031,7 +1031,6 @@ function WebStreamViewport(props: StreamRenderInput & { isMobileBreakpoint: bool
minHeight: 0,
overflowX: "hidden",
overflowY: scrollEnabled ? "auto" : "hidden",
overflowAnchor: "none",
overscrollBehaviorY: "contain",
};
}, [scrollEnabled]);