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 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:
result.mp4
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)
Package
filament/filament
Package Version
v4.7
Laravel Version
12
Livewire Version
v3
PHP Version
8.4
Problem description
When using
overlayParentActionsfor 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:
result.mp4
Expected behavior
It should close both the modals without re-opening them again.
Steps to reproduce
/route and login using email: test@example.com and password: passwordReproduction repository (issue will be closed if this is not valid)
https://github.com/mansoorkhan96/filament-modal-bug
Relevant log output