alkismavridis opened a new issue, #58032:
URL: https://github.com/apache/airflow/issues/58032

   ### Apache Airflow version
   
   3.1.2
   
   ### If "Other Airflow 2/3 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   1. Navigate to any page under /security by clicking to the sidebar.
   2. Hit the"Back" arrow button
   
   <img width="597" height="289" alt="Image" 
src="https://github.com/user-attachments/assets/f0404d16-f4b3-4287-a490-24fc94ff96c4";
 />
   
   Effect: 
   1. You are navigated back to the home page (rightly so)
   2. There is a second sidebar the URL is locked no matter where you click. 
   3. In fact, you can go back to any Security page and hit the "back" button 
again. You get a third Sidebar. Repeat the process to get as many sidebars as 
you want :)
   
   <img width="1089" height="912" alt="Image" 
src="https://github.com/user-attachments/assets/f41cc501-4599-43a8-826e-694d1ce75431";
 />
   
   I debugged a bit the generated HTML and I noticed that there are nested 
Iframes, and every time you repeat the process, an extra layer of an iframe 
gets created. This explains the multiple sidebars. Each one of them lives in a 
different iframe. The iframes would also explain why the URL remains "locked". 
When the user navigates through airflow, only the inner-most iframe changes its 
url. But the URL that the user sees in the URL-bar the top-level page, which 
never changes.
   
   ### What you think should happen instead?
   
   No extra sidebars. The url reflects the actual page I am viewing.
   
   ### How to reproduce
   
   1. Navigate to any page under /security by clicking to the "Security" 
sidebar section.
   2. Hit the"Back" arrow button (see photo above)
   
   ### Operating System
   
   Mac OS (viewed in google-chrome)
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Docker-Compose
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


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