Преглед изворни кода

fix(app): breaking out of auto-scroll

Adam пре 7 месеци
родитељ
комит
63da3a338a
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      packages/app/src/pages/session.tsx

+ 1 - 1
packages/app/src/pages/session.tsx

@@ -903,7 +903,7 @@ export default function Page() {
 
 
   const autoScroll = createAutoScroll({
   const autoScroll = createAutoScroll({
     working: () => true,
     working: () => true,
-    overflowAnchor: "auto",
+    overflowAnchor: "dynamic",
   })
   })
 
 
   // When the user returns to the bottom, treat the active message as "latest".
   // When the user returns to the bottom, treat the active message as "latest".