Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't close the duplicate toast #1025

Open
GulabSinghSikarwar opened this issue Sep 13, 2024 · 0 comments
Open

can't close the duplicate toast #1025

GulabSinghSikarwar opened this issue Sep 13, 2024 · 0 comments

Comments

@GulabSinghSikarwar
Copy link

i am simply showing toast on angular in standalone , method :
providers: [provideAnimations(), // required animations providers
provideToastr({
// Duration for the toast message to be displayed
positionClass: 'toast-bottom-right', // Position of the toast
countDuplicates: true,
preventDuplicates: true,
closeButton: true,

}),

and Using in the another component , then showing two (duplicate) toast , first one get auto removed but second stays there only and does not closes even after clicking on close button

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant