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 the global-search-modal package for Filament, it is possible to open the search modal using key bindings (e.g., Ctrl + K) even when another modal (such as a Create/Edit action modal) is already open.
Expected Behaviour:
The global search modal should not open if another modal is already active, similar to Filament’s built-in global search behaviour.
Actual Behaviour:
The search modal opens underneath of the existing modal.
The existing modal becomes disabled, causing form fields to be unresponsive.
Steps to Reproduce:
Open a Create/Edit action modal in Filament.
Press Key bindings (Ctrl + K for me) to open the global search modal.
Observe that the global search modal opens overlapping the existing modal, making the previous form fields disabled.
A screen shot has been attached.
The text was updated successfully, but these errors were encountered:
Thank you for bringing this to my attention! I’ll work on fixing this issue. However, since the modal used by the plugin isn’t the built-in Filament modal, I’m not entirely sure if I’ll have access to the state of the Filament modal to detect whether it’s already active.
When using the global-search-modal package for Filament, it is possible to open the search modal using key bindings (e.g., Ctrl + K) even when another modal (such as a Create/Edit action modal) is already open.
Expected Behaviour:
The global search modal should not open if another modal is already active, similar to Filament’s built-in global search behaviour.
Actual Behaviour:
The search modal opens underneath of the existing modal.
The existing modal becomes disabled, causing form fields to be unresponsive.
Steps to Reproduce:
Open a Create/Edit action modal in Filament.
Press Key bindings (Ctrl + K for me) to open the global search modal.
Observe that the global search modal opens overlapping the existing modal, making the previous form fields disabled.
A screen shot has been attached.
The text was updated successfully, but these errors were encountered: