This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v3-3-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v3-3-test by this push:
new c5619e74dd2 [v3-3-test] UI: Lazy-mount the pause confirmation dialog
on Dag cards and rows (#70016) (#70025)
c5619e74dd2 is described below
commit c5619e74dd29d69140082e8ae410b10c7d54a87d
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sun Jul 19 23:56:44 2026 +0200
[v3-3-test] UI: Lazy-mount the pause confirmation dialog on Dag cards and
rows (#70016) (#70025)
(cherry picked from commit c7bc7ac73fc17ae0afa8f5b6bc7aaed9fa69280d)
Co-authored-by: Yuseok Jo <[email protected]>
---
airflow-core/src/airflow/ui/src/components/ConfirmationModal.tsx | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/airflow-core/src/airflow/ui/src/components/ConfirmationModal.tsx
b/airflow-core/src/airflow/ui/src/components/ConfirmationModal.tsx
index f4c8a92007f..f862929fbcc 100644
--- a/airflow-core/src/airflow/ui/src/components/ConfirmationModal.tsx
+++ b/airflow-core/src/airflow/ui/src/components/ConfirmationModal.tsx
@@ -33,7 +33,13 @@ export const ConfirmationModal = ({ children, header,
onConfirm, onOpenChange, o
const { t: translate } = useTranslation("common");
return (
- <Dialog.Root data-testid="confirmation-modal" onOpenChange={onOpenChange}
open={open}>
+ <Dialog.Root
+ data-testid="confirmation-modal"
+ lazyMount
+ onOpenChange={onOpenChange}
+ open={open}
+ unmountOnExit
+ >
<Dialog.Content backdrop>
<Dialog.Header>
<Heading>{header}</Heading>