From dcc8291a8c43acdb82a9c91a80905d4266d9059c Mon Sep 17 00:00:00 2001 From: Serge Pavlyuk Date: Tue, 17 Sep 2024 01:31:43 +0300 Subject: [PATCH] fix: resize element handler --- src/components/GridLayout/GridLayout.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/GridLayout/GridLayout.js b/src/components/GridLayout/GridLayout.js index 45e9c09..2b9eaef 100644 --- a/src/components/GridLayout/GridLayout.js +++ b/src/components/GridLayout/GridLayout.js @@ -319,6 +319,8 @@ export default class GridLayout extends React.PureComponent { } _onResizeStop(group, layout, oldItem, newItem, placeholder, e, element) { + this._onStop(group, layout); + this.context.onResizeStop?.call( this, this.prepareDefaultArguments(group, layout, oldItem, newItem, placeholder, e, element),