Merge pull request #2538 from wbkd/neo-patch-3

Refactor: Add isolated stacking context
This commit is contained in:
Moritz Klack
2022-11-02 16:22:33 +01:00
committed by GitHub
2 changed files with 7 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@reactflow/core': patch
---
Refactor: put React Flow in isolated stacking context
@@ -51,8 +51,9 @@ const initDefaultViewport: Viewport = { x: 0, y: 0, zoom: 1 };
const wrapperStyle: CSSProperties = {
width: '100%',
height: '100%',
position: 'relative',
overflow: 'hidden',
position: 'relative',
zIndex: 0,
};
const ReactFlow = forwardRef<ReactFlowRefType, ReactFlowProps>(