chore: Improved context menu behavior

This commit is contained in:
Tom Moor
2021-03-24 19:23:16 -07:00
parent 6a7d7af767
commit 4166257283
3 changed files with 8 additions and 3 deletions

View File

@ -37,7 +37,7 @@ export default function ContextMenu({
}, [onOpen, onClose, previousVisible, rest.visible]);
return (
<Menu {...rest}>
<Menu hideOnClickOutside preventBodyScroll {...rest}>
{(props) => (
<Position {...props}>
<Background>