🐛 Fix issues with change position modal
This commit is contained in:
1 parent
48fa81aaad
commit
2da206d5b0
6 files changed
+187
-158
No files matched your search
@@ -83,7 +83,7 @@ export const useGridstack = (
|
||||
// widget width is used to define sizes of gridstack items within global.scss
|
||||
root.style.setProperty('--gridstack-widget-width', widgetWidth.toString());
|
||||
gridRef.current?.cellHeight(widgetWidth);
|
||||
}, [mainAreaWidth, wrapperColumnCount]);
|
||||
}, [mainAreaWidth, wrapperColumnCount, gridRef.current]);
|
||||
|
||||
useEffect(() => {
|
||||
// column count is used to define count of columns of gridstack within global.scss
|
||||
|
||||
Reference in new issue
Block a user