Fix auto-scroll by explicitly enabling it on ThreadViewport

The turnAnchor="top" setting caused autoScroll to default to false.
This commit is contained in:
CREDO23 2026-01-22 20:54:09 +02:00
parent b1b63c6740
commit 03445a5e07

View file

@ -90,6 +90,7 @@ const ThreadContent: FC<{ header?: React.ReactNode }> = ({ header }) => {
>
<ThreadPrimitive.Viewport
turnAnchor="top"
autoScroll
className={cn(
"aui-thread-viewport relative flex flex-1 min-h-0 flex-col overflow-y-auto px-4 pt-4 transition-[padding] duration-300 ease-out",
showGutter && "lg:pr-30"