dockview 1.8.1 → 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.
package/dist/dockview.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * dockview
3
- * @version 1.8.1
3
+ * @version 1.8.2
4
4
  * @link https://github.com/mathuo/dockview
5
5
  * @license MIT
6
6
  */
@@ -5616,7 +5616,7 @@
5616
5616
  return true;
5617
5617
  }
5618
5618
  if (this.options.showDndOverlay) {
5619
- if (position === 'center') {
5619
+ if (position === 'center' && this.gridview.length !== 0) {
5620
5620
  /**
5621
5621
  * for external events only show the four-corner drag overlays, disable
5622
5622
  * the center position so that external drag events can fall through to the group