Skip to content

Duplicate Left Navigation Menu on "Airflow" Icon click. #63805

Closed

Description

@Petrinax

Apache Airflow version

Other Airflow 3 version (please specify below)

If "Other Airflow 3 version" selected, which one?

3.1.0

What happened?

Duplicate Navigation Bars opening up on clicking 'Airflow' Icon:
Image

What you think should happen instead?

No response

How to reproduce

1. Open Users Panel

Image

2. Click On "Airflow" icon on top left side

Image

Operating System

Linux (Airflow helm on K8s)

Versions of Apache Airflow Providers

No response

Deployment

Official Apache Airflow Helm Chart

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

Activity

  1. boring-cyborg commented on Mar 17, 2026

    @boring-cyborg

    Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.

  2. changed the title [-]Duplicate Lef Navigation Menu on "Icon" click.[/-] [+]Duplicate Left Navigation Menu on "Airflow" Icon click.[/+] on Mar 17, 2026
  3. added
    area:UIRelated to UI/UX. For Frontend Developers.
    on Mar 17, 2026
  4. added a commit that references this issue on Mar 18, 2026
    e291367
  5. nagasrisai commented on Mar 18, 2026

    @nagasrisai
    Contributor

    Hi team! I've submitted a fix for this in PR #63873.

    Root cause: The Security page embeds FAB admin pages in an <iframe>. FAB's navigation header includes an Airflow logo link. When clicked, it navigates the iframe to / — which causes the React SPA to render inside the iframe (including its own <Nav> sidebar). The outer app's onLoad handler then redirects to /, but during the brief rendering window the user sees two sidebars.

    Fix: Before calling navigate("/"), immediately set iframe.src = "about:blank" to clear the iframe, preventing the inner React app from rendering its Nav at all. A isRedirecting ref prevents the extra onLoad from triggering a second navigation.

    Happy to adjust based on reviewer feedback!

  6. nagasrisai commented on Mar 18, 2026

    @nagasrisai
    Contributor

    Hi team! 👋 I traced this bug and submitted a fix in PR #63873.

    Root cause: The Security page embeds FAB admin pages in an <iframe>. FAB's own nav header has an Airflow logo link — clicking it navigates the iframe to /, which causes the full React SPA (including its <Nav> sidebar) to render inside the iframe. The outer app's onLoad handler then calls navigate("/"), but during that brief window both sidebars are visible, producing the duplicate nav.

    Fix: Before calling navigate("/"), immediately set iframe.src = "about:blank" to clear the iframe synchronously. A isRedirecting ref prevents the resulting onLoad event from triggering a second navigate() call. Normal FAB auth page loads (/auth/*) are completely unaffected.

    PR: #63873

  7. pierrejeambrun commented on Mar 24, 2026

    @pierrejeambrun
    Member

    Closing. This was fixed in 3.1.6. Please upgrade. #58997

  8. added a commit that references this issue on Apr 7, 2026
    545baf4
  9. added a commit that references this issue on Apr 7, 2026
    70a0cb6
  10. added a commit that references this issue on Apr 7, 2026
    11db467
  11. added a commit that references this issue on Apr 8, 2026
    cda49de
  12. added 3 commits that reference this issue on Apr 8, 2026
    b5a77b3
    b4a07a4
    116a82b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:UIRelated to UI/UX. For Frontend Developers.kind:bugThis is a clearly a bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions