Ensure that only one toolbar dropdown is open at a time (#16344)

GitOrigin-RevId: db06091ec35886f38de2a320eba9126b35d33064
This commit is contained in:
Alf Eaton 2024-01-03 12:39:56 +00:00 committed by Copybot
parent 20485b886f
commit dc962832f0
4 changed files with 4 additions and 0 deletions

View file

@ -52,6 +52,7 @@ export const ToolbarButtonMenu: FC<{
container={tableContainerRef.current}
containerPadding={0}
animation
rootClose
onHide={() => onToggle(false)}
>
<Popover

View file

@ -57,6 +57,7 @@ export const ToolbarDropdown: FC<{
placement="bottom"
container={tabularRef.current}
animation
rootClose
containerPadding={0}
onHide={() => onToggle(false)}
>

View file

@ -60,6 +60,7 @@ export const ToolbarButtonMenu: FC<{
container={view.dom}
containerPadding={0}
animation
rootClose
onHide={() => onToggle(false)}
>
<Popover

View file

@ -57,6 +57,7 @@ export const TableInserterDropdown = memo(() => {
container={view.dom}
containerPadding={0}
animation
rootClose
onHide={() => onToggle(false)}
>
<Popover