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',
|
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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue