CodeSeven / toastr

Simple javascript toast notifications
http://www.toastrjs.com
MIT License
11.96k stars 2.04k forks source link

Notification is no longer being destroyed by default on hidden #620

Open JayBox325 opened 5 years ago

JayBox325 commented 5 years ago

My client wanted the notifications to slide in from the right, so I am fading them in instantle with a showDuration of 0. Then using the onShown callback I am adding an is-visible class.

However, when I use the onShown callback, the notifications are no longer being destroyed when the hide is completed.