From 095933eef893728cf6fc0dc76f734df9a8a22c19 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 8f4f2eb8c..8458bdd20 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)}>