filamentphp / filament

A collection of beautiful full-stack components for Laravel. The perfect starting point for your next app. Using Livewire, Alpine.js and Tailwind CSS.
https://filamentphp.com
MIT License
19.28k stars 2.96k forks source link

Livewire persist issue after signing in #7072

Closed mstfkhazaal closed 1 year ago

mstfkhazaal commented 1 year ago

Package

filament/filament

Package Version

v3.0.0-beta3

Laravel Version

v10.0.0

Livewire Version

No response

PHP Version

8.2.4

Problem description

When login, dashboard not run i need to refresh the page to get dashboard

https://github.com/filamentphp/filament/assets/47450090/74850155-d225-4ade-840a-baa6bef52a7d

Expected behavior

Run Normal witout refresh

Steps to reproduce

Nothing

Reproduction repository

https://github.com/mstfkhazaal/nscourse3

Relevant log output

No response

github-actions[bot] commented 1 year ago

Hey @mstfkhazaal! We're sorry to hear that you've hit this issue. 💛

However, it doesn't look like you've provided much information on how to replicate the issue. Please edit your original post with clear steps we need to take.

zepfietje commented 1 year ago

I can confirm this happens on the demo as well. Getting Unhandled Promise Rejection: TypeError: undefined is not an object (evaluating 'old._x_wasPersisted = true') in the console after signing in.

Seems to be an issue with Livewire's persist feature.

akunbeben commented 1 year ago

@akunbeben yeah the merge failed and we end up with duplicates filenames with different cases. We will be tagging a release soon that fixes that so you don't need to change your mac volumes 😅

I think this is related to this issue, it is solved now on Mac, but some Windows users still got a similar issue.

zepfietje commented 1 year ago

Seems unrelated to me, @akunbeben. Still occurs on the latest Livewire beta.

danharrin commented 1 year ago

Removed wire:navigate until its more stable