This is an automated email from the ASF dual-hosted git repository.

bbovenzi 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 c7bc7ac73fc UI: Lazy-mount the pause confirmation dialog on Dag cards 
and rows (#70016)
c7bc7ac73fc is described below

commit c7bc7ac73fc17ae0afa8f5b6bc7aaed9fa69280d
Author: Yuseok Jo <[email protected]>
AuthorDate: Sat Jul 18 00:39:04 2026 +0900

    UI: Lazy-mount the pause confirmation dialog on Dag cards and rows (#70016)
---
 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>

Reply via email to