dockview-core 1.8.0 → 1.8.1

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.1
4
4
  * @link https://github.com/mathuo/dockview
5
5
  * @license MIT
6
6
  */
@@ -5590,6 +5590,14 @@ class DockviewComponent extends BaseGrid {
5590
5590
  return true;
5591
5591
  }
5592
5592
  if (this.options.showDndOverlay) {
5593
+ if (position === 'center') {
5594
+ /**
5595
+ * for external events only show the four-corner drag overlays, disable
5596
+ * the center position so that external drag events can fall through to the group
5597
+ * and panel drop target handlers
5598
+ */
5599
+ return false;
5600
+ }
5593
5601
  return this.options.showDndOverlay({
5594
5602
  nativeEvent: event,
5595
5603
  position: position,