This is an automated email from the ASF dual-hosted git repository.
jscheffl pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 51c2590fc60 Popup auto closing in Create backfill (#47244)
51c2590fc60 is described below
commit 51c2590fc60f2c629bb98a710263d07b977923af
Author: Aritra Basu <[email protected]>
AuthorDate: Sat Mar 1 18:57:48 2025 +0530
Popup auto closing in Create backfill (#47244)
The backfill button not being a child
has the menu button's click propagate
down leading to the modal auto closing.
---
airflow/ui/src/components/Menu/MenuButton.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/airflow/ui/src/components/Menu/MenuButton.tsx
b/airflow/ui/src/components/Menu/MenuButton.tsx
index 261bf13bfd7..9fbfa17254a 100644
--- a/airflow/ui/src/components/Menu/MenuButton.tsx
+++ b/airflow/ui/src/components/Menu/MenuButton.tsx
@@ -34,7 +34,7 @@ const MenuButton: React.FC<Props> = ({ dag }) => (
<ActionButton actionName="" icon={<MdMoreHoriz />} text="" />
</Menu.Trigger>
<Menu.Content>
- <Menu.Item value="Run Backfill">
+ <Menu.Item asChild value="Run Backfill">
<RunBackfillButton dag={dag} />
</Menu.Item>
</Menu.Content>