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

bbovenzi pushed a commit to branch v3-4-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v3-4-test by this push:
     new 3ea4d48c52e [v3-4-test] UI: Portal MarkAs button tooltips to prevent 
scrollbar layout shift (#77172) (#77199) (#77217)
3ea4d48c52e is described below

commit 3ea4d48c52e15ce34edb5dacdc5ff97d0788b33c
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Nov 25 13:10:51 2026 +0000

    [v3-4-test] UI: Portal MarkAs button tooltips to prevent scrollbar layout 
shift (#77172) (#77199) (#77217)
    
    Explicitly set `portalled` on Tooltip components in 
MarkTaskInstanceAsButton,
    MarkRunAsButton, and MarkTaskGroupAsButton so that they render into 
document.body
    instead of inline inside Menu.Content. This prevents transient viewport 
overflow
    and scrollbar layout shifts when hovering menu options.
    
    Closes: #77172
    (cherry picked from commit a2713f364425adfad4226340f262d4caa3cd24bb)
    
    Signed-off-by: Sachin Chandra Yadav <[email protected]>
    Co-authored-by: Sachin Chandra Yadav <[email protected]>
---
 .../src/airflow/ui/src/components/MarkAs/Run/MarkRunAsButton.tsx         | 1 +
 .../airflow/ui/src/components/MarkAs/TaskGroup/MarkTaskGroupAsButton.tsx | 1 +
 .../ui/src/components/MarkAs/TaskInstance/MarkTaskInstanceAsButton.tsx   | 1 +
 3 files changed, 3 insertions(+)

diff --git 
a/airflow-core/src/airflow/ui/src/components/MarkAs/Run/MarkRunAsButton.tsx 
b/airflow-core/src/airflow/ui/src/components/MarkAs/Run/MarkRunAsButton.tsx
index 3738a72b43c..2760258e529 100644
--- a/airflow-core/src/airflow/ui/src/components/MarkAs/Run/MarkRunAsButton.tsx
+++ b/airflow-core/src/airflow/ui/src/components/MarkAs/Run/MarkRunAsButton.tsx
@@ -93,6 +93,7 @@ export const MarkRunAsButton = ({ dagRun, isHotkeyEnabled = 
false, ...rest }: Pr
                 disabled={!isHotkeyEnabled}
                 key={menuState}
                 openDelay={100}
+                portalled
               >
                 {/* Not disabled when state matches: re-applying lets users 
also flip upstream/downstream tasks */}
                 <Menu.Item
diff --git 
a/airflow-core/src/airflow/ui/src/components/MarkAs/TaskGroup/MarkTaskGroupAsButton.tsx
 
b/airflow-core/src/airflow/ui/src/components/MarkAs/TaskGroup/MarkTaskGroupAsButton.tsx
index 2914b2b8b82..033d70cbd45 100644
--- 
a/airflow-core/src/airflow/ui/src/components/MarkAs/TaskGroup/MarkTaskGroupAsButton.tsx
+++ 
b/airflow-core/src/airflow/ui/src/components/MarkAs/TaskGroup/MarkTaskGroupAsButton.tsx
@@ -93,6 +93,7 @@ export const MarkTaskGroupAsButton = ({ groupTaskInstance, 
isHotkeyEnabled = fal
                 disabled={!isHotkeyEnabled}
                 key={menuState}
                 openDelay={100}
+                portalled
               >
                 {/* Not disabled when state matches: re-applying lets users 
also flip upstream/downstream tasks */}
                 <Menu.Item
diff --git 
a/airflow-core/src/airflow/ui/src/components/MarkAs/TaskInstance/MarkTaskInstanceAsButton.tsx
 
b/airflow-core/src/airflow/ui/src/components/MarkAs/TaskInstance/MarkTaskInstanceAsButton.tsx
index e4d3e24390b..6eab5ec424e 100644
--- 
a/airflow-core/src/airflow/ui/src/components/MarkAs/TaskInstance/MarkTaskInstanceAsButton.tsx
+++ 
b/airflow-core/src/airflow/ui/src/components/MarkAs/TaskInstance/MarkTaskInstanceAsButton.tsx
@@ -99,6 +99,7 @@ export const MarkTaskInstanceAsButton = ({ isHotkeyEnabled = 
false, taskInstance
                 disabled={!isHotkeyEnabled || !hasShortcut}
                 key={menuState}
                 openDelay={100}
+                portalled
               >
                 {/* Not disabled when state matches: re-applying lets users 
also flip upstream/downstream tasks */}
                 <Menu.Item

Reply via email to