From 86622d6aa6352a99ea07039bcafc0013703d843e Mon Sep 17 00:00:00 2001 From: Fedor Katurov Date: Tue, 3 Dec 2019 12:06:53 +0700 Subject: [PATCH] fixed panel stacking --- src/components/node/NodePanel/index.tsx | 29 ++++++++++++------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/src/components/node/NodePanel/index.tsx b/src/components/node/NodePanel/index.tsx index 22cf50e5..5eed452c 100644 --- a/src/components/node/NodePanel/index.tsx +++ b/src/components/node/NodePanel/index.tsx @@ -47,7 +47,7 @@ const NodePanel: FC = memo( return (
- {stack ? ( + {stack && createPortal( = memo( stack />, document.body - ) - ) : ( - - )} + )} + +
); }