Messages: OnClose event #15295
Labels
LTS-PORTABLE
Issue's fix will be ported to supported LTS versions
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
In the removeMessage method of the messages component, the onClose event is triggered after filtering the messages, sending as the event argument a message different from the one closed. The issue lies in the implementation of the method as shown in the figure.
Environment
All environments
Reproducer
No response
Angular version
17.3.4
PrimeNG version
17.13.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
20.11.0
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: