summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAdam <[email protected]>2026-01-16 12:58:07 -0600
committerAdam <[email protected]>2026-01-16 13:24:47 -0600
commit00ec29dae6dbacf750ddd766182b93366161286a (patch)
tree347a072ff6fd1c560fd7d822d8a066efef0ed4b4
parent438916de5fbb020b6b1901671cdfaaee9ac5690d (diff)
downloadopencode-00ec29dae6dbacf750ddd766182b93366161286a.tar.gz
opencode-00ec29dae6dbacf750ddd766182b93366161286a.zip
fix(app): scroll jumping when expanding workspaces
-rw-r--r--packages/app/src/pages/layout.tsx2
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()}>