Ver código fonte

fix(app): breaking out of auto-scroll

Adam 1 mês atrás
pai
commit
63da3a338a
1 arquivos alterados com 1 adições e 1 exclusões
  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".