From 9c0e0607a4b232ec17018d7aafa5cbeef3dde3a2 Mon Sep 17 00:00:00 2001 From: Chaim Lev-Ari Date: Tue, 10 Jan 2023 21:32:03 +0200 Subject: [PATCH] fix(sidebar): put behind modal [EE-4866] (#8282) * fix(sidebar): put behind modal * fix(system/upgrade): validate on open dialog --- app/react/sidebar/Sidebar.module.css | 2 +- app/react/sidebar/UpgradeBEBanner/UploadLicenseDialog.tsx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/react/sidebar/Sidebar.module.css b/app/react/sidebar/Sidebar.module.css index 293e48b58..0ced98ff6 100644 --- a/app/react/sidebar/Sidebar.module.css +++ b/app/react/sidebar/Sidebar.module.css @@ -30,7 +30,7 @@ position: fixed; left: 0; - z-index: 999; + z-index: 10; transition: all 0.4s ease 0s; } diff --git a/app/react/sidebar/UpgradeBEBanner/UploadLicenseDialog.tsx b/app/react/sidebar/UpgradeBEBanner/UploadLicenseDialog.tsx index aeac11b12..3135a14e8 100644 --- a/app/react/sidebar/UpgradeBEBanner/UploadLicenseDialog.tsx +++ b/app/react/sidebar/UpgradeBEBanner/UploadLicenseDialog.tsx @@ -39,6 +39,7 @@ export function UploadLicenseDialog({ initialValues={initialValues} onSubmit={handleSubmit} validationSchema={validation} + validateOnMount > {({ errors }) => (