From ce152086949fa9a202594e8f016182d553e8e388 Mon Sep 17 00:00:00 2001 From: mathuo <6710312+mathuo@users.noreply.github.com> Date: Mon, 17 Jul 2023 20:34:23 +0100 Subject: [PATCH] fix: limit drag handle scope --- packages/dockview-core/src/dockview/dockviewComponent.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/dockview-core/src/dockview/dockviewComponent.ts b/packages/dockview-core/src/dockview/dockviewComponent.ts index b349c43df..d8c64938d 100644 --- a/packages/dockview-core/src/dockview/dockviewComponent.ts +++ b/packages/dockview-core/src/dockview/dockviewComponent.ts @@ -351,7 +351,7 @@ export class DockviewComponent minimumInViewportHeight: 100, }); - const el = group.element.querySelector('void-container'); + const el = group.element.querySelector('.void-container'); if (!el) { throw new Error('failed to find drag handle');