dockview-react 1.15.1 → 1.15.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * dockview-react
3
- * @version 1.15.1
3
+ * @version 1.15.3
4
4
  * @link https://github.com/mathuo/dockview
5
5
  * @license MIT
6
6
  */
@@ -2768,7 +2768,7 @@ define(['exports', 'react', 'react-dom'], (function (exports, React, ReactDOM) {
2768
2768
  this.doSetGroupActive(next);
2769
2769
  }
2770
2770
  layout(width, height, forceResize) {
2771
- const different = forceResize !== null && forceResize !== void 0 ? forceResize : (width !== this.width || height !== this.height);
2771
+ const different = forceResize || width !== this.width || height !== this.height;
2772
2772
  if (!different) {
2773
2773
  return;
2774
2774
  }
@@ -7872,6 +7872,8 @@ define(['exports', 'react', 'react-dom'], (function (exports, React, ReactDOM) {
7872
7872
  const group = createGroupFromSerializedState(data);
7873
7873
  this.addFloatingGroup(group, {
7874
7874
  position: position,
7875
+ width: position.width,
7876
+ height: position.height,
7875
7877
  skipRemoveGroup: true,
7876
7878
  inDragMode: false,
7877
7879
  });