From d1b88f3b5d812bb53034cde29f542daf0f6789da Mon Sep 17 00:00:00 2001 From: Yury Molodov Date: Thu, 21 Jul 2022 08:46:28 +0300 Subject: [PATCH] fix: change the z-index of the datepicker (#2891) --- .../components/CustomPanel/Configurator/Time/TimeSelector.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/vmui/packages/vmui/src/components/CustomPanel/Configurator/Time/TimeSelector.tsx b/app/vmui/packages/vmui/src/components/CustomPanel/Configurator/Time/TimeSelector.tsx index 8f4f2eb8cb..8458bdd20f 100644 --- a/app/vmui/packages/vmui/src/components/CustomPanel/Configurator/Time/TimeSelector.tsx +++ b/app/vmui/packages/vmui/src/components/CustomPanel/Configurator/Time/TimeSelector.tsx @@ -110,7 +110,9 @@ export const TimeSelector: FC = () => { open={open} anchorEl={anchorEl} placement="bottom-end" - modifiers={[{name: "offset", options: {offset: [0, 6]}}]}> + modifiers={[{name: "offset", options: {offset: [0, 6]}}]} + sx={{zIndex: 3, position: "relative"}} + > setAnchorEl(null)}>