React-toastify: onClose not executed on v6.0.4

Created on 15 May 2020  路  1Comment  路  Source: fkhadra/react-toastify

Do you want to request a feature or report a bug?
Bug

What is the current behavior?
onOpen works.
onClose doesn't.

What is the expected behavior?
onClose callback should be executed when the toast closes

bug

Most helpful comment

The issue seems related to the new version of react-transition-group. My tests didn't catch it because react-transition-group is mocked. Thanks for reporting the issue

>All comments

The issue seems related to the new version of react-transition-group. My tests didn't catch it because react-transition-group is mocked. Thanks for reporting the issue

Was this page helpful?
0 / 5 - 0 ratings

Related issues

NoMercy235 picture NoMercy235  路  5Comments

spiritedfang picture spiritedfang  路  3Comments

joetidee picture joetidee  路  3Comments

SmileSydney picture SmileSydney  路  4Comments

billtlee picture billtlee  路  5Comments