From d312c9510a22970359418bcbcede7e8c9a164518 Mon Sep 17 00:00:00 2001 From: inaseem Date: Tue, 5 Oct 2021 15:58:37 +0530 Subject: [PATCH] Resize only on drag end --- frontend/components/Layouts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/components/Layouts.js b/frontend/components/Layouts.js index 67152f9..8916575 100644 --- a/frontend/components/Layouts.js +++ b/frontend/components/Layouts.js @@ -21,7 +21,7 @@ const Layouts = (props) => { ? { display: "flex", flexDirection: "row", alignItems: "stretch" } : {}), }} - onDrag={() => EventEmitter.dispatch("resize")} + onDragEnd={() => EventEmitter.dispatch("resize")} > {children}