After Login in, Dashboard design is all out of wack.
Once logged in, I have to refresh the page to fix the layouts.
For example the Profile link top right is cut off and shows the menu out of the screen when it should be hidden.
The left nav overlaps the content.
Not sure why it doesn't render properly after login, but after a refresh it works fine.
11 Replies
Are you using spa mode?
I don't think so?
Console errors? Could you provide more info?
@Leandro Ferreira
I checked the error console.
Uncaught TypeError: $store.sidebar is undefined in livewire.js
Please share the output of
php artisan about
Sounds like you have a mismatching version of Livewire.Sounds like you are trying to load an app.js that is not setup correctly for lW3
Application Name ......................................................................................................................... Laravel
Laravel Version ......................................................................................................................... 10.48.10
PHP Version ............................................................................................................................... 8.2.16
Composer Version ........................................................................................................................... 2.7.6
Environment ................................................................................................................................ local
Filament .........................................................................................................................................
Packages ......................................................................................... filament, forms, notifications, support, tables
Version .................................................................................................................................. v3.2.72
Views .............................................................................................................................. NOT PUBLISHED
Livewire .........................................................................................................................................
Livewire ................................................................................................................................. v3.4.11 @awcodes ^^^
Laravel Version ......................................................................................................................... 10.48.10
PHP Version ............................................................................................................................... 8.2.16
Composer Version ........................................................................................................................... 2.7.6
Environment ................................................................................................................................ local
Filament .........................................................................................................................................
Packages ......................................................................................... filament, forms, notifications, support, tables
Version .................................................................................................................................. v3.2.72
Views .............................................................................................................................. NOT PUBLISHED
Livewire .........................................................................................................................................
Livewire ................................................................................................................................. v3.4.11 @awcodes ^^^
@awcodes @ahinkle
This is what it looks like after login. I've cleared cache. Rebuilt css, js using npm run build.
Not sure whats happening. But when I refresh it works.
Not sure whats happening. But when I refresh it works.
Are you using opcache on the server?
I'm running into this same issue moving between admin/user panel and laravel blade pages (outside of filament) . I have some guest pages built with Laravel / Livewire and the problem happens when including
@livewireScripts
within the guest layout.
This is using the default laravel sail setup (locally)
After reading your comments about making sure spa settings weren't activated, I ran back over my code. That actual issue here was using wire:navigate
on my links from my guest pages. Removing that and allowing the pages to load naturally fixed my display issues.ill give that a try.