Skip to content

Commit 8e70ae3

Browse files
committed
fix: Resizing in free canvas had disappeared
Must forward class name
1 parent 86a719b commit 8e70ae3

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

app/components/chart-panel.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,11 @@ export const ChartWrapper = forwardRef<HTMLDivElement, ChartWrapperProps>(
4646
const { children, editing, layoutType, ...rest } = props;
4747
const classes = useStyles();
4848
return (
49-
<Box ref={ref} {...rest} className={classes.chartWrapper}>
49+
<Box
50+
ref={ref}
51+
{...rest}
52+
className={clsx(classes.chartWrapper, props.className)}
53+
>
5054
{(editing || layoutType === "tab") && <ChartSelectionTabs />}
5155
<Box
5256
className={classes.chartWrapperInner}

0 commit comments

Comments
 (0)