Chat panel follows its tail by scrolling its own body (SidePanel body gets data-slot side-panel-body) instead of scrollIntoView, which scrolls every ancestor
This commit is contained in:
@@ -252,6 +252,7 @@ export function SidePanel({
|
||||
</div>
|
||||
|
||||
<div
|
||||
data-slot="side-panel-body"
|
||||
className={cn(
|
||||
"flex min-h-0 flex-1 flex-col",
|
||||
expanded ? "overflow-hidden" : "overflow-y-auto",
|
||||
|
||||
Reference in New Issue
Block a user