Skip to content

Commit 1fe90ee

Browse files
author
Derek Moore
committed
trigger resizestart on items for when nested grids are resized
1 parent 61a129e commit 1fe90ee

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/gridstack.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -660,6 +660,10 @@
660660

661661
el.resizable('option', 'minWidth', cell_width * (node.min_width || 1));
662662
el.resizable('option', 'minHeight', self.opts.cell_height * (node.min_height || 1));
663+
664+
if (event.type == 'resizestart') {
665+
o.find('.grid-stack-item').trigger('resizestart');
666+
}
663667
};
664668

665669
var on_end_moving = function(event, ui) {

0 commit comments

Comments
 (0)