Skip to content

v2.1.0

Compare
Choose a tag to compare
@calintamas calintamas released this 09 Dec 21:10
· 75 commits to main since this release

Fixed

  • After a Toast is shown within a Modal, the main instance outside of Modal doesn't work anymore (#293)

  • A previously set timer is not cleared when autoHide changes from true to false. This can make a newly shown Toast auto hide (even if it was shown with autoHide: false) (#294)

    Big thanks go to jstheoriginal for all the work on fixing the two issues above 🙌.

  • Flexbox not working for setting Toast width or alignment (3400f00)

Changed

  • BaseToastProps style types allows passing an array of styles now style={[styles.one, styles.two]} (#243 was ported to v2)
  • Peer deps no longer require a min version (e91ed21)