From 623acabda7feff7486f54933f84696c522be0d13 Mon Sep 17 00:00:00 2001 From: Kartik Gupta Date: Mon, 28 Oct 2024 12:30:51 +0530 Subject: [PATCH] config handle positioning fix when visibility is hidden and query manager preview refreshing bug --- .../src/AppBuilder/AppCanvas/ConfigHandle/ConfigHandle.jsx | 4 +++- frontend/src/AppBuilder/AppCanvas/WidgetWrapper.jsx | 1 + .../AppBuilder/QueryManager/Components/QueryManagerBody.jsx | 1 - 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/src/AppBuilder/AppCanvas/ConfigHandle/ConfigHandle.jsx b/frontend/src/AppBuilder/AppCanvas/ConfigHandle/ConfigHandle.jsx index d4c552607f..891a23b464 100644 --- a/frontend/src/AppBuilder/AppCanvas/ConfigHandle/ConfigHandle.jsx +++ b/frontend/src/AppBuilder/AppCanvas/ConfigHandle/ConfigHandle.jsx @@ -15,6 +15,7 @@ export const ConfigHandle = ({ customClassName = '', showHandle, componentType, + visibility, }) => { const shouldFreeze = useStore((state) => state.getShouldFreeze()); const componentName = useStore((state) => state.getComponentDefinition(id)?.component?.name || '', shallow); @@ -23,11 +24,12 @@ export const ConfigHandle = ({ shallow ); const deleteComponents = useStore((state) => state.deleteComponents, shallow); + let height = visibility === false ? 10 : widgetHeight; return (
)}