dockview-angular 0.0.0-experimental-4e3871a-20251228 → 0.0.0-experimental-9b12ca8-20251228

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-angular
3
- * @version 0.0.0-experimental-4e3871a-20251228
3
+ * @version 0.0.0-experimental-9b12ca8-20251228
4
4
  * @link https://github.com/mathuo/dockview
5
5
  * @license MIT
6
6
  */
@@ -8534,7 +8534,14 @@
8534
8534
  if (options.debug) {
8535
8535
  this.addDisposables(new StrictEventsSequencing(this));
8536
8536
  }
8537
- this.addDisposables(this.rootDropTargetContainer, this.overlayRenderContainer, this._onWillDragPanel, this._onWillDragGroup, this._onWillShowOverlay, this._onDidActivePanelChange, this._onDidAddPanel, this._onDidRemovePanel, this._onDidLayoutFromJSON, this._onDidDrop, this._onWillDrop, this._onDidMovePanel, this._onDidAddGroup, this._onDidRemoveGroup, this._onDidActiveGroupChange, this._onUnhandledDragOverEvent, this._onDidMaximizedGroupChange, this._onDidOptionsChange, this._onDidPopoutGroupSizeChange, this._onDidPopoutGroupPositionChange, this._onDidOpenPopoutWindowFail, this.onDidViewVisibilityChangeMicroTaskQueue(() => {
8537
+ this.addDisposables(this.rootDropTargetContainer, this.overlayRenderContainer, this._onWillDragPanel, this._onWillDragGroup, this._onWillShowOverlay, this._onDidActivePanelChange, this._onDidAddPanel, this._onDidRemovePanel, this._onDidLayoutFromJSON, this._onDidDrop, this._onWillDrop, this._onDidMovePanel, this._onDidMovePanel.event(() => {
8538
+ /**
8539
+ * Update overlay positions after DOM layout completes to prevent 0×0 dimensions.
8540
+ * With defaultRenderer="always" this results in panel content not showing after move operations.
8541
+ * Debounced to avoid multiple calls when moving groups with multiple panels.
8542
+ */
8543
+ this.debouncedUpdateAllPositions();
8544
+ }), this._onDidAddGroup, this._onDidRemoveGroup, this._onDidActiveGroupChange, this._onUnhandledDragOverEvent, this._onDidMaximizedGroupChange, this._onDidOptionsChange, this._onDidPopoutGroupSizeChange, this._onDidPopoutGroupPositionChange, this._onDidOpenPopoutWindowFail, this.onDidViewVisibilityChangeMicroTaskQueue(() => {
8538
8545
  this.updateWatermark();
8539
8546
  }), this.onDidAdd((event) => {
8540
8547
  if (!this._moving) {
@@ -9738,6 +9745,15 @@
9738
9745
  }
9739
9746
  return re;
9740
9747
  }
9748
+ debouncedUpdateAllPositions() {
9749
+ if (this._updatePositionsFrameId !== undefined) {
9750
+ cancelAnimationFrame(this._updatePositionsFrameId);
9751
+ }
9752
+ this._updatePositionsFrameId = requestAnimationFrame(() => {
9753
+ this._updatePositionsFrameId = undefined;
9754
+ this.overlayRenderContainer.updateAllPositions();
9755
+ });
9756
+ }
9741
9757
  movingLock(func) {
9742
9758
  const isMoving = this._moving;
9743
9759
  try {
@@ -9808,13 +9824,6 @@
9808
9824
  panel: removedPanel,
9809
9825
  from: sourceGroup,
9810
9826
  });
9811
- /**
9812
- * Update overlay positions after DOM layout completes to prevent 0×0 dimensions.
9813
- * With defaultRenderer="always" this results in panel content not showing after move operations.
9814
- */
9815
- requestAnimationFrame(() => {
9816
- this.overlayRenderContainer.updateAllPositions();
9817
- });
9818
9827
  }
9819
9828
  else {
9820
9829
  /**