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:
2026-10-16 10:50:23 +02:00
parent cb377ba00e
commit 9d9dac0bd0
2 changed files with 5 additions and 1 deletions
@@ -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",