Skip to content

Top bar elements persisting when navigating between panels in SPA mode #15982

Open
@binaryfire

Description

@binaryfire

Package

filament/filament

Package Version

3.3.7

Laravel Version

12

Livewire Version

3.6.2

PHP Version

8.4

Problem description

When SPA mode is enabled, top bar elements are persisted when navigating between panels. In the example below the user menu, search field and db notification icon from the /admin panel remain on screen after navigating to the /test/ panel. They only disappear after a browser reload:

360p_kFoF.mp4

The issue is occurring with any top bar elements added via render hooks too.

Steps to reproduce

  1. Download the reproduction repo
  2. Go to the /admin dashboard
  3. Open the user menu and click "Test panel" to navigate to the /test panel.
  4. The admin panel's top bar elements will be persisted until the browser is reloaded

Reproduction repository (issue will be closed if this is not valid)

https://github.com/binaryfire/filament-multi-panel-spa-mode-bug

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    Todo

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions