fix: change the z-index of the datepicker (#2891)

This commit is contained in:
Yury Molodov 2022-07-21 08:46:28 +03:00 committed by Aliaksandr Valialkin
parent d335436b9a
commit 095933eef8
No known key found for this signature in database
GPG key ID: A72BEC6CD3D0DED1

View file

@ -110,7 +110,9 @@ export const TimeSelector: FC = () => {
open={open} open={open}
anchorEl={anchorEl} anchorEl={anchorEl}
placement="bottom-end" placement="bottom-end"
modifiers={[{name: "offset", options: {offset: [0, 6]}}]}> modifiers={[{name: "offset", options: {offset: [0, 6]}}]}
sx={{zIndex: 3, position: "relative"}}
>
<ClickAwayListener onClickAway={() => setAnchorEl(null)}> <ClickAwayListener onClickAway={() => setAnchorEl(null)}>
<Paper elevation={3}> <Paper elevation={3}>
<Box sx={classes.container}> <Box sx={classes.container}>