diff --git a/src/components/EditorSidePanel/Issues.jsx b/src/components/EditorSidePanel/Issues.jsx index 3e9cc901..f3de9a30 100644 --- a/src/components/EditorSidePanel/Issues.jsx +++ b/src/components/EditorSidePanel/Issues.jsx @@ -32,7 +32,7 @@ export default function Issues() { }, [tables, relationships, issues, types, database, enums]); return ( - + { setSelectedElement((prev) => ({ diff --git a/src/components/EditorSidePanel/RelationshipsTab/RelationshipsTab.jsx b/src/components/EditorSidePanel/RelationshipsTab/RelationshipsTab.jsx index e492a967..ac2a058d 100644 --- a/src/components/EditorSidePanel/RelationshipsTab/RelationshipsTab.jsx +++ b/src/components/EditorSidePanel/RelationshipsTab/RelationshipsTab.jsx @@ -27,7 +27,7 @@ export default function RelationshipsTab() { ? `${selectedElement.id}` : "" } - keepDOM + keepDOM={false} lazyRender onChange={(k) => setSelectedElement((prev) => ({ diff --git a/src/components/EditorSidePanel/SidePanel.jsx b/src/components/EditorSidePanel/SidePanel.jsx index 75f3600d..01689409 100644 --- a/src/components/EditorSidePanel/SidePanel.jsx +++ b/src/components/EditorSidePanel/SidePanel.jsx @@ -62,6 +62,7 @@ export default function SidePanel({ width, resize, setResize }) { type="card" activeKey={selectedElement.currentTab} lazyRender + keepDOM={false} onChange={(key) => setSelectedElement((prev) => ({ ...prev, currentTab: key })) } diff --git a/src/components/EditorSidePanel/TablesTab/TableInfo.jsx b/src/components/EditorSidePanel/TablesTab/TableInfo.jsx index 659669e5..9b0efb1a 100644 --- a/src/components/EditorSidePanel/TablesTab/TableInfo.jsx +++ b/src/components/EditorSidePanel/TablesTab/TableInfo.jsx @@ -160,7 +160,7 @@ export default function TableInfo({ data }) { > setIndexActiveKey(itemKey)} accordion @@ -187,7 +187,7 @@ export default function TableInfo({ data }) { style={{ marginTop: "12px", marginBottom: "12px" }} headerLine={false} > - +