Skip to content

v4.2.0

Compare
Choose a tag to compare
@fkhadra fkhadra released this 13 Aug 11:50

Changelog

  • Removed pauseOnVisibilityChangein favor of pauseOnFocusLoss:
    Pause the toast timer when the window loses focus. This behavior can be defined per toast. Usage here
  • Deleted a bunch of useless code
  • Fix draggablePercent check
  • When the ToastContainer is unmounted, the toast id counter is reset to 0 and all the reference are cleaned up.
  • Add union type for position in typescript definition
  • Upgrade to latest version of react-transition-group
  • Upgrade to latest version of classnames