SachinyadavAug20 commented on issue #77172:
URL: https://github.com/apache/airflow/issues/77172#issuecomment-6948956524

   Thank you @pedro-cf for sharing the detailed setup and video!
   
   Although I couldn't reproduce the visual shift directly on my Linux setup 
(due to how Linux compositing and overlay scrollbars handle layout width 
differently), investigating the code along with your video helped pinpoint the 
exact cause:
   
   The `<Tooltip>` inside `MarkTaskInstanceAsButton.tsx` (as well as 
`MarkRunAsButton.tsx` and `MarkTaskGroupAsButton.tsx`) was rendering 
unportalled because `portalled` was omitted (and defaults to undefined in 
`src/system-components/Tooltip.tsx`). This mounted the tooltip positioner 
inline within `<Menu.Content>` rather than attaching it to `document.body`, 
causing transient viewport overflow and scrollbar re-renders when hovering over 
the menu items.
   
   I have submitted PR #77199 which explicitly portals these tooltips to 
`document.body`. Could you please test that PR and let us know whether the 
glitch is completely resolved on your setup?


-- 
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]

Reply via email to