Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix(core): prevent all-docs header from overlapping scrollbar (#10270)

CatsJuicee726df9a1b2c
diff --git a/packages/frontend/core/src/components/page-list/virtualized-list.tsx b/packages/frontend/core/src/components/page-list/virtualized-list.tsx
index e8d7ab33d9..55addc0ed8 100644
--- a/packages/frontend/core/src/components/page-list/virtualized-list.tsx
+++ b/packages/frontend/core/src/components/page-list/virtualized-list.tsx
@@ -152,7 +152,7 @@ const Scroller = forwardRef<
<Scrollable.Viewport {...props} ref={ref}>
{children}
</Scrollable.Viewport>
- <Scrollable.Scrollbar />
+ <Scrollable.Scrollbar style={{ zIndex: 1 }} />
</Scrollable.Root>
);
});