diff --git a/src/renderer/src/components/ui/divider/PanelSpliter.tsx b/src/renderer/src/components/ui/divider/PanelSpliter.tsx index ce42c74ea1..e6680e4201 100644 --- a/src/renderer/src/components/ui/divider/PanelSpliter.tsx +++ b/src/renderer/src/components/ui/divider/PanelSpliter.tsx @@ -1,16 +1,26 @@ +import { cn } from "@renderer/lib/utils" import * as React from "react" export const PanelSplitter = ( props: React.DetailedHTMLProps< React.HTMLAttributes, HTMLDivElement - >, -) => ( -
-
-
-) + > & { + isDragging?: boolean + }, +) => { + const { isDragging, ...rest } = props + + return ( +
+
+
+ ) +} diff --git a/src/renderer/src/pages/(main)/(layer)/feeds/[feedId]/layout.tsx b/src/renderer/src/pages/(main)/(layer)/feeds/[feedId]/layout.tsx index fe20facdb2..355d619504 100644 --- a/src/renderer/src/pages/(main)/(layer)/feeds/[feedId]/layout.tsx +++ b/src/renderer/src/pages/(main)/(layer)/feeds/[feedId]/layout.tsx @@ -18,7 +18,7 @@ export function Component() { const entryColWidth = useMemo(() => getUISettings().entryColWidth, []) const { feedId, view } = useRouteParms() const inWideMode = view ? views[view].wideMode : false - const { position, separatorProps } = useResizable({ + const { position, separatorProps, isDragging } = useResizable({ axis: "x", // FIXME: Less than this width causes grid images to overflow on safari min: isSafari() ? 356 : 300, @@ -44,7 +44,7 @@ export function Component() { >
- {!inWideMode && } + {!inWideMode && }
) diff --git a/src/renderer/src/pages/(main)/layout.tsx b/src/renderer/src/pages/(main)/layout.tsx index c85f19bb32..b5132cfd7f 100644 --- a/src/renderer/src/pages/(main)/layout.tsx +++ b/src/renderer/src/pages/(main)/layout.tsx @@ -219,7 +219,7 @@ const FeedResponsiveResizerContainer = ({ }} /> - {delayShowSplitter && } + {delayShowSplitter && } ) }