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
After clicking on an Action that is set to redirect to a download attachment URL (that will open the download dialog) inside a modal, then closing the modal, the modal reopens one time.
Click on the "Actions" header action in the top right
Click on the "Download" Action (will try to download Github Desktop)
Cancel or Accept
Click "Close"
Note the modal reopens. Close again
Modal closes properly
The related code is in app/Filament/Pages/Test.php:
Action::make('actions')
->modal()
->extraModalFooterActions([
Action::make('download')
->action(function() {
// This works, but causes the containing modal to reopen when it is next closed.// I cannot use url() instead of action() because I also need to run other logic.$this->redirect('https://central.github.com/deployments/desktop/desktop/latest/win32');
})
])
Reproduction repository (issue will be closed if this is not valid)
Package
filament/filament
Package Version
v3.2.131
Laravel Version
v11.36.1
Livewire Version
v3.5.12
PHP Version
PHP 8.3.14
Problem description
After clicking on an Action that is set to redirect to a download attachment URL (that will open the download dialog) inside a modal, then closing the modal, the modal reopens one time.
Expected behavior
That the modal does not reopen at all.
Steps to reproduce
In the reproduction repository:
composer install
,php artisan key:generate
,php artisan migrate --seed
/admin
[email protected]
passwordtest
The related code is in
app/Filament/Pages/Test.php
:Reproduction repository (issue will be closed if this is not valid)
https://github.com/ahamilton9/filament-issue
Relevant log output
No response
The text was updated successfully, but these errors were encountered: