@codecademy/gamut
72.2.472.2.5-alpha.212edd.0
dist/Flyout/index.js~
dist/Flyout/index.jsModified+2−1
Index: package/dist/Flyout/index.js
===================================================================
--- package/dist/Flyout/index.js
+++ package/dist/Flyout/index.js
@@ -1,6 +1,6 @@
import { MiniDeleteIcon } from '@codecademy/gamut-icons';
-import { Background } from '@codecademy/gamut-styles';
+import { Background, zIndices } from '@codecademy/gamut-styles';
import * as React from 'react';
import { FlexBox } from '../Box';
import { IconButton } from '../Button';
import { Drawer } from '../Drawer';
@@ -20,8 +20,9 @@
clickOutsideCloses: true,
escapeCloses: true,
isOpen: expanded,
shroud: true,
+ zIndex: zIndices.flyout,
onRequestClose: onClose,
children: /*#__PURE__*/_jsx(Background, {
bg: bg,
children: /*#__PURE__*/_jsxs(Drawer, {