diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/index.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/index.tsx index 67387afbc7696..41a69f62de04e 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/index.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/index.tsx @@ -59,6 +59,11 @@ const StepsWithLessPadding = styled(EuiSteps)` } `; +const CustomEuiBottomBar = styled(EuiBottomBar)` + // Set a relatively _low_ z-index value here to account for EuiComboBox popover that might appear under the bottom bar + z-index: 50; +`; + interface AddToPolicyParams { pkgkey: string; integration?: string; @@ -451,8 +456,7 @@ export const CreatePackagePolicyPage: React.FunctionComponent = () => { )} - {/* Note: we set a relatively _low_ zIndex value here to account for EuiComboBox popover that might appear under the bottom bar */} - + {!isLoadingSecondStep && agentPolicy && packageInfo && formState === 'INVALID' ? ( @@ -497,7 +501,7 @@ export const CreatePackagePolicyPage: React.FunctionComponent = () => { - + ); };