瀏覽代碼

fix(app): breaking out of auto-scroll

Adam 2 月之前
父節點
當前提交
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({
     working: () => true,
-    overflowAnchor: "auto",
+    overflowAnchor: "dynamic",
   })
 
   // When the user returns to the bottom, treat the active message as "latest".