Skip to content

Commit 62c61bc

Browse files
committed
fix(app): remove content-visibility causing scroll jumps
content-visibility: auto with contain-intrinsic-size: auto 500px on message containers causes the browser to swap rendered heights with 500px placeholders as elements leave the viewport. During fast upward scrolling this produces large scrollHeight fluctuations that make the viewport jump past entire pages of content. Added in 7291e28 (perf: trim session render work) for v1.2.25. Ref: anomalyco#17996
1 parent 2d23c28 commit 62c61bc

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎packages/app/src/pages/session/message-timeline.tsx‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -956,7 +956,6 @@ export function MessageTimeline(props: {
956956
"min-w-0 w-full max-w-full": true,
957957
"md:max-w-200 2xl:max-w-[1000px]": props.centered,
958958
}}
959-
style={{ "content-visibility": "auto", "contain-intrinsic-size": "auto 500px" }}
960959
>
961960
<Show when={commentCount() > 0}>
962961
<div class="w-full px-4 md:px-5 pb-2">

0 commit comments

Comments
 (0)