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

Fast dismissing of toasts results in preserving them #36

Closed
nikolavp opened this issue Jan 21, 2015 · 5 comments
Closed

Fast dismissing of toasts results in preserving them #36

nikolavp opened this issue Jan 21, 2015 · 5 comments

Comments

@nikolavp
Copy link

If I create multiple toasts(really fast) and then try to dismiss them fast(by clicking on them) at some point one of the toasts is not removed and it is not dismissed after the timeout. I know that this is sort of spamy but it is annoying(I have to refresh the page to remove the toast)

Note that this happens with dismiss on click and a dedicated close button(not sure if this is relevant)

@Foxandxss
Copy link
Owner

What version and... are you using maxOpened ?

@nikolavp
Copy link
Author

I am using the demo from here http://foxandxss.github.io/angular-toastr/ . I was able to reproduce it both in chrome and firefox. maxOpened didn't matter at unless it is 1 in which case this cannot be reproduced. Just try to spam it a little more. Tell me if you need a recording or something

@Foxandxss
Copy link
Owner

Yeah, wasn't that hard to notice. Will look for a fix :)

@Foxandxss
Copy link
Owner

Care to try again on the demo? I think I fixed it.

@nikolavp
Copy link
Author

Yes, this fixed it for me 👍

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

2 participants