F
Filament2mo ago
Liam

UI Glitch on First Page Load When Redirecting to Filament Panel

I'm not sure why, but when I go from my main website to a Filament panel, the first time the page opens, it looks strange. After refreshing, it works fine. It only happens the first time the page loads. Does anyone know how to fix this?
No description
11 Replies
LeandroFerreira
LeandroFerreira2mo ago
console errors?
Liam
Liam2mo ago
@Leandro Ferreira Yes, about 33 all something to do with AlpineJS
No description
Liam
Liam2mo ago
I don't use the ->spa mode btw
Liam
Liam2mo ago
Euh no I never used this before, do I need to register the plugins I used there? Or is this if you want to write a package yourself?
LeandroFerreira
LeandroFerreira2mo ago
use this if you are adding JavaScript files to the panel builder
Liam
Liam2mo ago
I only used SpatieLaravelTranslatablePlugin, and a few other plugins I don't use any custom JS myself
LeandroFerreira
LeandroFerreira2mo ago
double-check your Filament setup, plugins, configs... Something seems to be causing this
Liam
Liam2mo ago
I use the default Laravel login screen from Breeze and removed filemant's login screen, could that be the issue? That it is using the css/scripts from the previous request
Liam
Liam2mo ago
I have a feeling that it has something to do with this: https://github.com/filamentphp/filament/discussions/9007
GitHub
Using Breeze / Filament / Livewire together. ( comments need ) · f...
I use Breeze 'Blade with Alpine' for client layout / authentication and Filament for backend. And for convenient data handling, I use Livewire. It is easy to install and setup Breeze / Live...
Liam
Liam2mo ago
For anyone facing this issue, I used Laravel Breeze with Livewire Volt. Simply remove 'navigate: true' from the auth classes, and everything should work smoothly.
Want results from more Discord servers?
Add your server