Skip to content

v1.0.4

Latest

Choose a tag to compare

@Ayushx309 Ayushx309 released this 26 May 16:15
· 1 commit to main since this release

ButterPop.js v1.0.4 Release

✨ Highlights

  • The onClose callback now works as documented! It is called whenever a toast is removed (by timeout, close button, or programmatically) in both butterpop.js and butterpop.esm.js.

🐛 Bug Fixes & Changes

  • [Behavioral Change] The onClose callback is now properly called when a toast is removed. The callback receives the toast DOM element as its argument. This brings the implementation in line with the documentation and expected behavior.