mirror of
https://github.com/drawdb-io/drawdb.git
synced 2026-02-12 02:00:40 +08:00
Optimize the rendering logic for the Collapse and Tabs child components(#101)
This commit is contained in:
@@ -33,6 +33,8 @@ export default function NotesTab() {
|
||||
) : (
|
||||
<Collapse
|
||||
activeKey={selectedElement.open ? `${selectedElement.id}` : ""}
|
||||
keepDOM
|
||||
lazyRender
|
||||
onChange={(activeKey) => {
|
||||
setSelectedElement((prev) => ({
|
||||
...prev,
|
||||
|
||||
Reference in New Issue
Block a user