fix(app): scroll jumping when expanding workspaces
parent
438916de5f
commit
00ec29dae6
|
|
@ -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()}>
|
||||
|
|
|
|||
Loading…
Reference in New Issue