mirror of
https://github.com/prymitive/karma
synced 2026-05-07 03:26:52 +00:00
fix(ui): ensure that all dropdowns are not hidden under swimlanes
This commit is contained in:
committed by
Łukasz Mierzwa
parent
de9ba77e19
commit
3d4f9251df
@@ -20,4 +20,10 @@ export const CommonPopperModifiers = [
|
||||
roundOffsets: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "flip",
|
||||
options: {
|
||||
fallbackPlacements: [],
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
@@ -192,7 +192,7 @@ const AlertMenu: FC<{
|
||||
)}
|
||||
</Reference>
|
||||
<DropdownSlide in={!isHidden} unmountOnExit>
|
||||
<Popper placement="bottom-start" modifiers={PopperModifiers}>
|
||||
<Popper placement="bottom" modifiers={PopperModifiers}>
|
||||
{({ placement, ref, style }) => (
|
||||
<MenuContent
|
||||
popperPlacement={placement}
|
||||
|
||||
@@ -188,7 +188,7 @@ const GroupMenu: FC<{
|
||||
)}
|
||||
</Reference>
|
||||
<DropdownSlide in={!isHidden} unmountOnExit>
|
||||
<Popper placement="bottom-start" modifiers={PopperModifiers}>
|
||||
<Popper placement="bottom" modifiers={PopperModifiers}>
|
||||
{({ placement, ref, style }) => (
|
||||
<MenuContent
|
||||
popperPlacement={placement}
|
||||
|
||||
@@ -169,7 +169,7 @@ const GridLabelSelect: FC<{
|
||||
)}
|
||||
</Reference>
|
||||
<DropdownSlide in={isVisible} unmountOnExit>
|
||||
<Popper modifiers={CommonPopperModifiers}>
|
||||
<Popper placement="bottom" modifiers={CommonPopperModifiers}>
|
||||
{({ placement, ref, style }) => (
|
||||
<Dropdown
|
||||
popperPlacement={placement}
|
||||
|
||||
@@ -255,7 +255,7 @@ const History: FC<{
|
||||
)}
|
||||
</Reference>
|
||||
<DropdownSlide in={isVisible} unmountOnExit>
|
||||
<Popper modifiers={CommonPopperModifiers}>
|
||||
<Popper placement="bottom" modifiers={CommonPopperModifiers}>
|
||||
{({ placement, ref, style }) => (
|
||||
<HistoryMenu
|
||||
popperPlacement={placement}
|
||||
|
||||
Reference in New Issue
Block a user