filamentphp/filament

overlayParentActions feature re-opens parent modal after close

已关闭

#19,561 创建于 2026年3月25日

 (1 条评论) (0 个反应) (0 位负责人)PHP (4,162 个派生)batch import
bughelp wantedmedium priorityunconfirmed

仓库指标

星标
 (30,736 个星标)
PR 合并指标
 (平均合并 3天 15小时) (30 天内合并 55 个 PR)

描述

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

  1. Install the repo by following regular Laravel installation guide
  2. Open / route and login using email: test@example.com and password: password
  3. Open browser console, and set network throttling to 4g Slow inside networks tab.
  4. Click On Modal Test page link in the sidebar navigation
  5. Click on Test action button and then click on Open Child Modal action button.
  6. 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

贡献者指南