mirror of
https://github.com/overleaf/overleaf.git
synced 2025-03-31 08:53:40 +00:00
Ensure that only one toolbar dropdown is open at a time (#16344)
GitOrigin-RevId: db06091ec35886f38de2a320eba9126b35d33064
This commit is contained in:
parent
20485b886f
commit
dc962832f0
4 changed files with 4 additions and 0 deletions
|
@ -52,6 +52,7 @@ export const ToolbarButtonMenu: FC<{
|
|||
container={tableContainerRef.current}
|
||||
containerPadding={0}
|
||||
animation
|
||||
rootClose
|
||||
onHide={() => onToggle(false)}
|
||||
>
|
||||
<Popover
|
||||
|
|
|
@ -57,6 +57,7 @@ export const ToolbarDropdown: FC<{
|
|||
placement="bottom"
|
||||
container={tabularRef.current}
|
||||
animation
|
||||
rootClose
|
||||
containerPadding={0}
|
||||
onHide={() => onToggle(false)}
|
||||
>
|
||||
|
|
|
@ -60,6 +60,7 @@ export const ToolbarButtonMenu: FC<{
|
|||
container={view.dom}
|
||||
containerPadding={0}
|
||||
animation
|
||||
rootClose
|
||||
onHide={() => onToggle(false)}
|
||||
>
|
||||
<Popover
|
||||
|
|
|
@ -57,6 +57,7 @@ export const TableInserterDropdown = memo(() => {
|
|||
container={view.dom}
|
||||
containerPadding={0}
|
||||
animation
|
||||
rootClose
|
||||
onHide={() => onToggle(false)}
|
||||
>
|
||||
<Popover
|
||||
|
|
Loading…
Reference in a new issue