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?
11 Replies
console errors?
@Leandro Ferreira Yes, about 33 all something to do with AlpineJS
I don't use the ->spa mode btw
Did you register assets using this?
https://filamentphp.com/docs/3.x/support/assets
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?
use this if you are adding JavaScript files to the panel builder
I only used SpatieLaravelTranslatablePlugin, and a few other plugins
I don't use any custom JS myself
double-check your Filament setup, plugins, configs... Something seems to be causing this
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
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...
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.