fix: proper popper usage

This commit is contained in:
Rafael Taranto 2025-04-28 07:20:15 +01:00
parent 2732bc7e5a
commit fff589bbb4
2 changed files with 2 additions and 9 deletions

View file

@ -132,7 +132,7 @@ const Popover = ({
}, },
{ {
name: 'preventOverflow', name: 'preventOverflow',
enabled: R.defaultTo(true, props.preventOverflow), enabled: true,
options: { options: {
rootBoundary: 'scrollParent' rootBoundary: 'scrollParent'
} }
@ -159,12 +159,6 @@ const Popover = ({
} }
] ]
if (props.preventOverflow === false) {
modifiers.hide = {
enabled: false
}
}
return ( return (
<> <>
<MaterialPopper <MaterialPopper

View file

@ -119,7 +119,6 @@ const Autocomplete = ({
/> />
) )
console.log('props.warningMessage: ', props)
return ( return (
<li {...iprops}> <li {...iprops}>
<Box <Box
@ -137,7 +136,7 @@ const Autocomplete = ({
) )
}} }}
/> />
); )
} }
export default Autocomplete export default Autocomplete