fix: prevent content shift on select menu open

This commit is contained in:
Daniel Cojocea committed 2024-09-08 14:01:44 -04:00
1 parent 15b79bc420
commit 8d8117464b
2 files changed
+2

No files matched your search

@@ -79,6 +79,7 @@ const Select = ({
displayEmpty displayEmpty
inputProps={{ id: id }} inputProps={{ id: id }}
IconComponent={KeyboardArrowDownIcon} IconComponent={KeyboardArrowDownIcon}
MenuProps={{ disableScrollLock: true }}
sx={{ sx={{
fontSize: 13, fontSize: 13,
minWidth: "125px", minWidth: "125px",
@@ -302,6 +302,7 @@ const MonitorTable = ({ isAdmin }) => {
select: { select: {
MenuProps: { MenuProps: {
keepMounted: true, keepMounted: true,
disableScrollLock: true,
PaperProps: { PaperProps: {
className: "pagination-dropdown", className: "pagination-dropdown",
sx: { sx: {