From 508f9afeb542d09d06fc34f06ac68cf732011620 Mon Sep 17 00:00:00 2001 From: Meier Lukas Date: Mon, 24 Feb 2025 17:46:57 +0100 Subject: [PATCH] fix(boards): add scrollarea to board-select (#2409) --- .../boards/(content)/_header-actions.tsx | 24 ++++++++++--------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/apps/nextjs/src/app/[locale]/boards/(content)/_header-actions.tsx b/apps/nextjs/src/app/[locale]/boards/(content)/_header-actions.tsx index 6b3153b46..45436b476 100644 --- a/apps/nextjs/src/app/[locale]/boards/(content)/_header-actions.tsx +++ b/apps/nextjs/src/app/[locale]/boards/(content)/_header-actions.tsx @@ -4,7 +4,7 @@ import type { MouseEvent } from "react"; import { useCallback, useEffect } from "react"; import Link from "next/link"; import { useRouter } from "next/navigation"; -import { Group, Menu } from "@mantine/core"; +import { Group, Menu, ScrollArea } from "@mantine/core"; import { useHotkeys } from "@mantine/hooks"; import { IconBox, @@ -168,16 +168,18 @@ const SelectBoardsMenu = () => { - {boards.map((board) => ( - } - > - {board.name} - - ))} + + {boards.map((board) => ( + } + > + {board.name} + + ))} + );