github-actions[bot] opened a new pull request, #64854:
URL: https://github.com/apache/airflow/pull/64854

   When a user opens a Security panel (e.g. Users) and clicks the Airflow
   logo inside the embedded FAB iframe, the iframe navigates to '/' which
   causes the React SPA to render inside the iframe, including its own Nav
   sidebar. This produces a duplicate navigation bar alongside the outer
   app's sidebar.
   
   Fix: before calling navigate('/'), set iframe.src = 'about:blank' to
   immediately clear the iframe content so the inner React app has no
   chance to render its Nav. A isRedirecting ref guards against the extra
   onLoad event that setting src to about:blank would otherwise trigger.
   
   Closes #63805
   (cherry picked from commit 545baf44bae1774fa950f7c9d368f0d6c5c6fabb)
   
   Co-authored-by: nagasrisai <[email protected]>


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