overlayParentActions feature re-opens parent modal after close
#19.561 aperta il 25 mar 2026
Metriche repository
- Star
- (30.736 stelle)
- Metriche merge PR
- (Merge medio 3g 15h) (55 PR mergiate in 30 g)
Descrizione
Package
filament/filament
Package Version
v4.7
Laravel Version
12
Livewire Version
v3
PHP Version
8.4
Problem description
When using overlayParentActions for actions, closing a child modal and parent modal at once by pressing Escape twice closes both the modals which is fine. However, there is a flicker, it re-opens the parent modal for a fraction of second and then closes it. This happens quite often in large or complex data driven modals, but it can be seen in simple modals by throttling the network to slow 4g in browser console networks tab.
Here is a video showing the problem:
https://github.com/user-attachments/assets/11c3ab7a-0efd-4783-a510-1281448dffd3
Expected behavior
It should close both the modals without re-opening them again.
Steps to reproduce
- Install the repo by following regular Laravel installation guide
- Open
/route and login using email: test@example.com and password: password - Open browser console, and set network throttling to 4g Slow inside networks tab.
- Click On Modal Test page link in the sidebar navigation
- Click on Test action button and then click on Open Child Modal action button.
- Hit Escape twice quickly and it would close both the Modals but for a fraction of a second the parent modal would re-open and then close again.
Reproduction repository (issue will be closed if this is not valid)
https://github.com/mansoorkhan96/filament-modal-bug
Relevant log output