You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I open a page for the first time (so no redirect, just refresh the page) and then let open a default action with modal, the modal state seems refreshed. Default or mounted content appears very briefly and then disappears.
Also whenever changing a value, the modal content disappears totally, but the black overlay stays.
However, when I navigate to another page in SPA mode and then back to the page with the default action modal, the modal works fine and there is no issue at all. When not using SPA mode the issue is present always.
There is some strange behavior that the first 2 times after code/dependency changes the modal works, but when you keep reloading the page and trying again then the issue keeps appearing constantly.
I tried various things to make it work like removing mountUsing() and using ->default() but that all had no effect.
Go to Orders page and edit a random order. A modal should appear with the status and test field filled in with a value. (If you see it correctly filled in, try refreshing the page 2-3 times until the bug starts to appear).
The modal opens without filled in values. Changing a status causes the modal contents to disappear entirely and only leave the gray overlay.
Navigating to another page like the List Orders and then go back to an Edit Order makes the modal work correctly.
Reproduction repository (issue will be closed if this is not valid)
Package
filament/filament
Package Version
v3.2.127
Laravel Version
v11.34.2
Livewire Version
v3.5.12
PHP Version
8.3.10
Problem description
When I open a page for the first time (so no redirect, just refresh the page) and then let open a default action with modal, the modal state seems refreshed. Default or mounted content appears very briefly and then disappears.
Also whenever changing a value, the modal content disappears totally, but the black overlay stays.
However, when I navigate to another page in SPA mode and then back to the page with the default action modal, the modal works fine and there is no issue at all. When not using SPA mode the issue is present always.
There is some strange behavior that the first 2 times after code/dependency changes the modal works, but when you keep reloading the page and trying again then the issue keeps appearing constantly.
I tried various things to make it work like removing
mountUsing()
and using->default()
but that all had no effect.See https://stream.new/assets/cyZsHnC6trJCOJ02ve02Jsy4Lc022jtNS1Ow7xxtLVbvCQ.
Expected behavior
The modal should work as normal.
Steps to reproduce
Reproduction repository (issue will be closed if this is not valid)
https://github.com/ralphjsmit/demo
Relevant log output
Donate 💰 to fund this issue
The text was updated successfully, but these errors were encountered: