Skip to content

Commit

Permalink
Fix filters context menu area
Browse files Browse the repository at this point in the history
  • Loading branch information
qu1ck committed Dec 2, 2023
1 parent e5847fd commit 81d738d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/components/filters.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,14 @@ export const Filters = React.memo(function Filters(props: FiltersProps) {
const [info, setInfo, handler] = useContextMenu();

return (
<Flex direction="column" style={{ width: "100%", whiteSpace: "nowrap", cursor: "default", userSelect: "none" }} onContextMenu={handler}>
<Flex direction="column" onContextMenu={handler}
sx={{
width: "100%",
minHeight: "100%",
whiteSpace: "nowrap",
cursor: "default",
userSelect: "none",
}}>
<MemoSectionsContextMenu
sections={sections} setSections={setSections}
contextMenuInfo={info} setContextMenuInfo={setInfo} />
Expand Down

0 comments on commit 81d738d

Please sign in to comment.