When attempting to drag around or resize any panel within my ResponsiveGridLayout i'm getting the following error:<DraggableCore> not mounted on DragStart!
Here is my GridLayout:
<ResponsiveGridLayout
className="layout"
cols={{ lg: 12, md: 10, sm: 6, xs: 4, xxs: 2 }}
onLayoutChange={(layout, allLayouts) => handleLayoutChange(allLayouts)}
rowHeight={30}
layouts={layouts}
measureBeforeMount={false}
compactionType="vertical"
useCSSTransforms={true}
>
<Panel key="a" title="Interactions per country">
<PieGraph />
</Panel>
</ResponsiveGridLayout>
Here is each individual Panel:
export const Panel: React.FC<IPanelProps> = (props) => {
const {className, children, title, shouldScroll, ...defaultPanelProps} = props;
let scrollClass = shouldScroll ? " scroll-y" : "";
return (
<div {...defaultPanelProps} className={`custom-panel wrapper ${className}`} >
{title && <div className="custom-panel-title text-medium">{title}</div>}
<div className={`custom-panel-content ${scrollClass}`} onMouseDown={ e => e.stopPropagation() }>
{children}
</div>
</div>
);
};