What happened?
Description
When the Knowledge Base plugin’s modal links feature is enabled, notifications in our Filament app (such as validation errors) appear glitchy or stutter visually. This happens even though no modals visibly close in the UI. Upon investigation, we noticed that a close-modal event is being dispatched for the Knowledge Base plugin’s modal whenever a notification is triggered elsewhere in the app.
Disabling the modal links feature immediately resolves the glitch and notifications display smoothly.
Steps to reproduce:
- Enable the modal links feature in the Knowledge Base plugin.
- Open a standard Filament modal (e.g., a form modal).
- Trigger a notification (such as a validation error).
- Observe that the notification appears glitchy or stutters, and a
close-modal event is dispatched for the Knowledge Base modal (can be seen in the network tab or via event listeners).
- Disable the modal links feature and repeat—notifications display smoothly and the event is no longer dispatched.
Expected behavior:
Notifications should display smoothly and not be affected by the Knowledge Base plugin’s modal links feature.
Additional context:
- The glitch only occurs when the modal links feature is enabled.
- Disabling the feature resolves the issue.
- The
close-modal event is being dispatched for the Knowledge Base modal when notifications are triggered, even though no modals are visibly closing.
How to reproduce the bug
- Enable the modal links feature in the Knowledge Base plugin.
- Open a standard Filament modal (e.g., a form modal).
- Trigger a notification (such as a validation error).
- Observe that the notification appears glitchy or stutters, and a
close-modal event is dispatched for the Knowledge Base modal (can be seen in the network tab or via event listeners).
- Disable the modal links feature and repeat—notifications display smoothly and the event is no longer dispatched.
Package Version
1.13.0
PHP Version
8.2
Laravel Version
11
Which operating systems does with happen with?
macOS
Notes
No response
What happened?
Description
When the Knowledge Base plugin’s modal links feature is enabled, notifications in our Filament app (such as validation errors) appear glitchy or stutter visually. This happens even though no modals visibly close in the UI. Upon investigation, we noticed that a
close-modalevent is being dispatched for the Knowledge Base plugin’s modal whenever a notification is triggered elsewhere in the app.Disabling the modal links feature immediately resolves the glitch and notifications display smoothly.
Steps to reproduce:
close-modalevent is dispatched for the Knowledge Base modal (can be seen in the network tab or via event listeners).Expected behavior:
Notifications should display smoothly and not be affected by the Knowledge Base plugin’s modal links feature.
Additional context:
close-modalevent is being dispatched for the Knowledge Base modal when notifications are triggered, even though no modals are visibly closing.How to reproduce the bug
close-modalevent is dispatched for the Knowledge Base modal (can be seen in the network tab or via event listeners).Package Version
1.13.0
PHP Version
8.2
Laravel Version
11
Which operating systems does with happen with?
macOS
Notes
No response