diff --git a/src/renderer/src/components/ui/scroll-area/ScrollArea.tsx b/src/renderer/src/components/ui/scroll-area/ScrollArea.tsx index 335ca23ca..230916d97 100644 --- a/src/renderer/src/components/ui/scroll-area/ScrollArea.tsx +++ b/src/renderer/src/components/ui/scroll-area/ScrollArea.tsx @@ -24,6 +24,10 @@ const Thumb = React.forwardRef< >(({ className, ...rest }, forwardedRef) => ( { + e.stopPropagation() + rest.onClick?.(e) + }} ref={forwardedRef} className={cn( "relative w-full flex-1 rounded-xl transition-colors duration-150", diff --git a/src/renderer/src/modules/entry-content/index.tsx b/src/renderer/src/modules/entry-content/index.tsx index b2018dac2..e0f9b1d6b 100644 --- a/src/renderer/src/modules/entry-content/index.tsx +++ b/src/renderer/src/modules/entry-content/index.tsx @@ -163,7 +163,7 @@ function EntryContentRender({ entryId }: { entryId: string }) { >