diff --git a/ui/src/Common/Popper.ts b/ui/src/Common/Popper.ts index 0aa541d35..599142a00 100644 --- a/ui/src/Common/Popper.ts +++ b/ui/src/Common/Popper.ts @@ -6,4 +6,18 @@ export const CommonPopperModifiers = [ gpuAcceleration: false, }, }, + { + name: "offset", + options: { + offset: [0, 5], + }, + }, + { + name: "computeStyles", + options: { + gpuAcceleration: false, + adaptive: false, + roundOffsets: true, + }, + }, ]; diff --git a/ui/src/Components/Grid/AlertGrid/AlertGroup/Alert/AlertMenu.tsx b/ui/src/Components/Grid/AlertGrid/AlertGroup/Alert/AlertMenu.tsx index 25be7e1b5..9d9cb705b 100644 --- a/ui/src/Components/Grid/AlertGrid/AlertGroup/Alert/AlertMenu.tsx +++ b/ui/src/Components/Grid/AlertGrid/AlertGroup/Alert/AlertMenu.tsx @@ -85,7 +85,7 @@ const MenuContent: FC<{ return (
{ return (
{isOpen && inputValue && suggestions.length ? ( -
+
{suggestions.slice(0, 10).map((item, index) => (