overlayParentActions feature re-opens parent modal after close
#19.561 aberto em 25 de mar. de 2026
Métricas do repositório
- Stars
- (30.736 estrelas)
- Métricas de merge de PR
- (Mesclagem média 3d 15h) (55 fundiu PRs em 30d)
Description
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