fix: super editor popover menus (#2041)

This commit is contained in:
Aman Harwara
2022-11-22 19:16:59 +05:30
committed by GitHub
parent b3140f1623
commit 8c8f045b9a
12 changed files with 75 additions and 50 deletions

View File

@@ -40,7 +40,14 @@ const AccountMenuButton = ({
</div>
</button>
</StyledTooltip>
<Popover anchorElement={buttonRef.current} open={isOpen} togglePopover={toggleMenu} side="top" className="py-2">
<Popover
anchorElement={buttonRef.current}
open={isOpen}
togglePopover={toggleMenu}
side="top"
align="start"
className="py-2"
>
<AccountMenu
onClickOutside={onClickOutside}
viewControllerManager={viewControllerManager}