SachinyadavAug20 opened a new pull request, #77199:
URL: https://github.com/apache/airflow/pull/77199
### Description
In `MarkTaskInstanceAsButton.tsx`, `MarkRunAsButton.tsx`, and
`MarkTaskGroupAsButton.tsx`, the `<Tooltip>` components wrapping state items in
the "Mark as" menu omitted the `portalled` prop.
In `src/system-components/Tooltip.tsx`, `portalled` defaults to `undefined`,
which disables the Chakra `<Portal>` (`disabled={!portalled}`). Because of
this, the `<ChakraTooltip.Positioner>` is mounted inline within
`<Menu.Content>` rather than attaching directly to `document.body`. On browsers
with non-overlay scrollbars (such as Chrome on Windows), hovering over the menu
items near the viewport boundary causes transient viewport overflow, making
horizontal and vertical scrollbars flash in and out and shifting the page
content sideways by ~7px.
This PR adds `portalled` to `<Tooltip>` in all three MarkAs button
components, ensuring that tooltips mount into `document.body` with fixed
positioning.
Closes: #77172
---
##### Was generative AI tooling used to co-author this PR?
- [X] Yes (Antigravity)
Generated-by: Antigravity following [the
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]