Put wrapper container in its own stacking context

This commit is contained in:
Wenchen Li
2022-10-14 11:33:50 -04:00
committed by GitHub
parent a6d34705c4
commit eccd567347
@@ -53,8 +53,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>(