fix: update ScrollBar to prevent pointer events

This commit is contained in:
codytseng
2025-08-12 11:14:44 +08:00
parent 7cf475e057
commit 836005aaff

View File

@@ -44,7 +44,7 @@ export default function NoteInteractions({
<div className="flex items-center justify-between">
<ScrollArea className="flex-1 w-0">
<Tabs selectedTab={type} onTabChange={setType} />
<ScrollBar orientation="horizontal" className="opacity-0" />
<ScrollBar orientation="horizontal" className="opacity-0 pointer-events-none" />
</ScrollArea>
<Separator orientation="vertical" className="h-6" />
<div className="size-10 flex items-center justify-center">