mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-27 17:56:25 +02:00
Fix auto-scroll by explicitly enabling it on ThreadViewport
The turnAnchor="top" setting caused autoScroll to default to false.
This commit is contained in:
parent
b1b63c6740
commit
03445a5e07
1 changed files with 1 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue