react-toastify icon indicating copy to clipboard operation
react-toastify copied to clipboard

A way to listen for autoClose complete event.

Open Message-Akunna opened this issue 3 years ago • 2 comments

Is there a way to listen for autoClose event which will be different from onClose event? This is to know if the toastify timer was completed or cut short due to some event say “cancel an action “.

Message-Akunna avatar Feb 25 '22 08:02 Message-Akunna

This would be great. Just a parameter mentioning the source of the close event would the job I suppose.

tanmay-gp avatar Apr 26 '22 06:04 tanmay-gp

@Message-Akunna Did you solve this? I am having exactly the same problem!

Stophface avatar Aug 09 '23 07:08 Stophface