mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 09:28:31 +00:00
fix: fix grid not showing for group resize
This commit is contained in:
parent
a7b3fd34b7
commit
d420099267
1 changed files with 1 additions and 1 deletions
|
|
@ -450,12 +450,12 @@ export default function DragContainer({
|
|||
}}
|
||||
onResizeGroupStart={({ events }) => {
|
||||
const parentElm = events[0].target.closest('.real-canvas');
|
||||
console.log('parentElm', parentElm);
|
||||
parentElm.classList.add('show-grid');
|
||||
}}
|
||||
onResizeGroup={({ events }) => {
|
||||
const newBoxs = [];
|
||||
const parentElm = events[0].target.closest('.real-canvas');
|
||||
parentElm.classList.remove('show-grid');
|
||||
const parentWidth = parentElm?.clientWidth;
|
||||
const parentHeight = parentElm?.clientHeight;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue