F
Filament4mo 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
LeandroFerreira4mo ago
console errors?
Liam
LiamOP4mo ago
@Leandro Ferreira Yes, about 33 all something to do with AlpineJS
No description
Liam
LiamOP4mo ago
I don't use the ->spa mode btw
Liam
LiamOP4mo 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
LeandroFerreira4mo ago
use this if you are adding JavaScript files to the panel builder
Liam
LiamOP4mo ago
I only used SpatieLaravelTranslatablePlugin, and a few other plugins I don't use any custom JS myself
LeandroFerreira
LeandroFerreira4mo ago
double-check your Filament setup, plugins, configs... Something seems to be causing this
Liam
LiamOP4mo 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
LiamOP4mo 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
LiamOP4mo 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