From f43329e0f3a97e3a46e84b8f8a23ee559daf5aab Mon Sep 17 00:00:00 2001 From: Marco Ciampini Date: Thu, 12 Dec 2024 10:26:41 +0100 Subject: [PATCH] Menu granular subcomponents: Refactor dataviews list layout actions menu (#67639) Co-authored-by: ciampo Co-authored-by: tyxla Co-authored-by: oandregal --- .../src/dataviews-layouts/list/index.tsx | 54 ++++++++++--------- 1 file changed, 29 insertions(+), 25 deletions(-) diff --git a/packages/dataviews/src/dataviews-layouts/list/index.tsx b/packages/dataviews/src/dataviews-layouts/list/index.tsx index 960865164fd6c..651834599f8ac 100644 --- a/packages/dataviews/src/dataviews-layouts/list/index.tsx +++ b/packages/dataviews/src/dataviews-layouts/list/index.tsx @@ -215,32 +215,36 @@ function ListItem< Item >( { ) } { ! hasOnlyOnePrimaryAction && (
- - } - /> - } - placement="bottom-end" - > - + + } + /> + } /> + + + { !! activeModalAction && (