fix: proper popper usage
This commit is contained in:
parent
2732bc7e5a
commit
fff589bbb4
2 changed files with 2 additions and 9 deletions
|
|
@ -132,7 +132,7 @@ const Popover = ({
|
|||
},
|
||||
{
|
||||
name: 'preventOverflow',
|
||||
enabled: R.defaultTo(true, props.preventOverflow),
|
||||
enabled: true,
|
||||
options: {
|
||||
rootBoundary: 'scrollParent'
|
||||
}
|
||||
|
|
@ -159,12 +159,6 @@ const Popover = ({
|
|||
}
|
||||
]
|
||||
|
||||
if (props.preventOverflow === false) {
|
||||
modifiers.hide = {
|
||||
enabled: false
|
||||
}
|
||||
}
|
||||
|
||||
return (
|
||||
<>
|
||||
<MaterialPopper
|
||||
|
|
|
|||
|
|
@ -119,7 +119,6 @@ const Autocomplete = ({
|
|||
/>
|
||||
)
|
||||
|
||||
console.log('props.warningMessage: ', props)
|
||||
return (
|
||||
<li {...iprops}>
|
||||
<Box
|
||||
|
|
@ -137,7 +136,7 @@ const Autocomplete = ({
|
|||
)
|
||||
}}
|
||||
/>
|
||||
);
|
||||
)
|
||||
}
|
||||
|
||||
export default Autocomplete
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue