diff options
| author | Adam <[email protected]> | 2026-01-16 12:58:07 -0600 |
|---|---|---|
| committer | Adam <[email protected]> | 2026-01-16 13:24:47 -0600 |
| commit | 00ec29dae6dbacf750ddd766182b93366161286a (patch) | |
| tree | 347a072ff6fd1c560fd7d822d8a066efef0ed4b4 | |
| parent | 438916de5fbb020b6b1901671cdfaaee9ac5690d (diff) | |
| download | opencode-00ec29dae6dbacf750ddd766182b93366161286a.tar.gz opencode-00ec29dae6dbacf750ddd766182b93366161286a.zip | |
fix(app): scroll jumping when expanding workspaces
| -rw-r--r-- | packages/app/src/pages/layout.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/app/src/pages/layout.tsx b/packages/app/src/pages/layout.tsx index 786107698..3b66e55ed 100644 --- a/packages/app/src/pages/layout.tsx +++ b/packages/app/src/pages/layout.tsx @@ -1244,6 +1244,7 @@ export default function Layout(props: ParentProps) { if (!props.mobile) scrollContainerRef = el }} class="size-full flex flex-col py-2 overflow-y-auto no-scrollbar" + style={{ "overflow-anchor": "none" }} > <nav class="flex flex-col gap-1 px-2"> <Show when={loading()}> @@ -1459,6 +1460,7 @@ export default function Layout(props: ParentProps) { if (!sidebarProps.mobile) scrollContainerRef = el }} class="size-full flex flex-col py-2 gap-4 overflow-y-auto no-scrollbar" + style={{ "overflow-anchor": "none" }} > <SortableProvider ids={workspaces()}> <For each={workspaces()}> |
