keep mounted of tab panels' content when not active

This commit is contained in:
xzdry 2022-04-13 13:18:39 +08:00
parent 910738871e
commit dc463c2651

View File

@ -219,6 +219,7 @@ export const Editor: React.FC<Props> = observer(
display="flex"
flexDirection="column"
textAlign="left"
lazyBehavior='keepMounted'
isLazy
index={explorerMenuTab}
onChange={activatedTab => {