From 93416b09132d8b2da37f43c8c2714104279c75ff Mon Sep 17 00:00:00 2001 From: Tsu-ba-me Date: Tue, 23 Jan 2024 17:58:25 -0500 Subject: [PATCH] fix(striker-ui): default to scroll in CRUD list confirm dialog --- striker-ui/components/CrudList.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/striker-ui/components/CrudList.tsx b/striker-ui/components/CrudList.tsx index 4c76d7a1..f7f0284b 100644 --- a/striker-ui/components/CrudList.tsx +++ b/striker-ui/components/CrudList.tsx @@ -49,7 +49,7 @@ const CrudList = < setConfirmDialogLoading, setConfirmDialogOpen, setConfirmDialogProps, - } = useConfirmDialog(); + } = useConfirmDialog({ initial: { scrollContent: true } }); const [edit, setEdit] = useState(false); const [entry, setEntry] = useState();