Using display flex here breaks in some scenarios
@@ -261,6 +261,6 @@ function DropdownMenu({
export {DropdownMenu};
const DropdownMenuWrap = styled('div')`
- display: flex;
+ display: contents;
list-style-type: none;
`;
@@ -332,6 +332,7 @@ const StyledPanel = styled(Panel)`
const StyledDropdownMenuControl = styled(DropdownMenu)`
+ display: block;
margin-left: auto;
@@ -418,6 +418,7 @@ const TreeSearchKey = styled('span')`
const TreeValueDropdown = styled(DropdownMenu)`
margin: 1px;
height: 20px;
.tag-button {
@@ -328,6 +328,7 @@ const StyledItemButton = styled(Button)`
const OverflowMenu = styled(DropdownMenu)`
position: absolute;
top: 12px;
right: ${space(1)};