dockview-core 1.8.0 → 1.8.2

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-core
3
- * @version 1.8.0
3
+ * @version 1.8.2
4
4
  * @link https://github.com/mathuo/dockview
5
5
  * @license MIT
6
6
  */
@@ -5562,6 +5562,14 @@ define(['exports'], (function (exports) { 'use strict';
5562
5562
  return true;
5563
5563
  }
5564
5564
  if (this.options.showDndOverlay) {
5565
+ if (position === 'center' && this.gridview.length !== 0) {
5566
+ /**
5567
+ * for external events only show the four-corner drag overlays, disable
5568
+ * the center position so that external drag events can fall through to the group
5569
+ * and panel drop target handlers
5570
+ */
5571
+ return false;
5572
+ }
5565
5573
  return this.options.showDndOverlay({
5566
5574
  nativeEvent: event,
5567
5575
  position: position,