mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-05 23:29:00 +02:00
Ensure that only one toolbar dropdown is open at a time (#16344)
GitOrigin-RevId: db06091ec35886f38de2a320eba9126b35d33064
This commit is contained in:
+1
@@ -52,6 +52,7 @@ export const ToolbarButtonMenu: FC<{
|
||||
container={tableContainerRef.current}
|
||||
containerPadding={0}
|
||||
animation
|
||||
rootClose
|
||||
onHide={() => onToggle(false)}
|
||||
>
|
||||
<Popover
|
||||
|
||||
+1
@@ -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
|
||||
|
||||
+1
@@ -57,6 +57,7 @@ export const TableInserterDropdown = memo(() => {
|
||||
container={view.dom}
|
||||
containerPadding={0}
|
||||
animation
|
||||
rootClose
|
||||
onHide={() => onToggle(false)}
|
||||
>
|
||||
<Popover
|
||||
|
||||
Reference in New Issue
Block a user