CHANGELOG.md
May 31, 2026 ยท View on GitHub
Release History
- 0.6.2
- ๐
BUGFIXUpdated dependencies
- ๐
- 0.6.1
- ๐
BUGFIXAdd ability to pass an element to Micromodal.close() - ๐
ENHANCEMENTUpdated documentation for show and close methods
- ๐
- 0.6.0
- ๐ก
FEATUREAdded ability to pass an element to Micromodal
- ๐ก
- 0.5.2
- ๐
BUGFIXUpdated dependencies
- ๐
- 0.4.10
- ๐
BUGFIXReverted passive listener to enable event methods
- ๐
- 0.4.9
- ๐
BUGFIXCorrectly closes modal when clicking on nested close elements
- ๐
- 0.4.8
- ๐
BUGFIXFixed issue where clicking on a input field would close the modal
- ๐
- 0.4.7
- ๐
BUGFIXCorrectly disable scroll on iOS devices - ๐
BUGFIXFixed issue where 'window' would be undefined - ๐
BUGFIXClose button works even if there are nested elements within - ๐
BUGFIXMarks event handler as 'passive' to make the page more responsive - ๐
BUGFIXPrevents click handlers from triggering underlying elements
- ๐
- 0.4.6
- ๐
BUGFIXRemoved focus error when no focusable element exists in the modal
- ๐
- 0.4.5
- ๐
BUGFIXOn open, correctly focuses on non close triggers when possible - ๐
BUGFIXCustom open class is now properly removed on modal close
- ๐
- 0.4.4
- ๐ก
FEATUREAdded ability to customize open class name
- ๐ก
- 0.4.3
- ๐
ENHANCEMENTFinds a focusable element which is not the close button on modal open - ๐
ENHANCEMENTHandle events cleanup if modals are not closed properly - ๐
ENHANCEMENTThe original trigger event is now passed to the onShow and onClose methods - ๐
ENHANCEMENTAdded engines property to package.json - ๐
BUGFIXFixed callbacks for programmatically toggling modal - ๐
BUGFIXNo longer intercept click events on open and close to prevent default action - ๐
BUGFIXNo longer throws error if modal has no focusable elements - ๐
BUGFIXSettingdisableScrollno longger changes the height of the body - ๐
BUGFIXFixed issue where focus trap would leak if a hidden element exists within modal - ๐
BUGFIXFixed issue where active element was not being passed to the onClose method
- ๐
- 0.4.2
- ๐
BUGFIXFixed broken CDN link
- ๐
- 0.4.1
- ๐ก
FEATUREA flag toawaitOpenAnimationbefore focusing on element in modal - ๐ก
FEATUREPassing actual node as second argument toonShow - ๐
BUGFIXFixed issue where active element wasundefined - ๐
BUGFIXFixed issue where an opened modal could not be closed byid
- ๐ก
- 0.4.0
- ๐ก
FEATUREAdded abilty to close modals by ID - #113 @roebuk - ๐
BUGFIXFixed bug where micromodal would error on initialization - #106 @stoicsquirrel - ๐
BUGFIXFixed bug where IE crashed due to null reference - #171 @wcarson - ๐
BUGFIXFixed bug which didn't lock modal overlay in IE
- ๐ก
- 0.3.2
- ๐
BUGFIXFixed bundling for es and umd builds
- ๐
- 0.3.1
- ๐ก
FEATUREBreaking RenamedhasAnimationtoawaitCloseAnimation - ๐
BUGFIXUpdated correct version of modal in dist
- ๐ก
- 0.3.0
- ๐ก
FEATUREBreaking Added flag to await close animation end before destroying modal - ๐ก
FEATUREAdded flag to disable focus on first element - ๐ก
FEATUREAdded ability to pass custom data-attributes for open and close - ๐
BUGFIXFixed modal not working without animations - ๐
BUGFIXNot focusing on last element in modal in case of file inputs
- ๐ก
- 0.2.0
- ๐ก
FEATUREAdded api to programmatically close modal - ๐ก
FEATUREAdded abilty to disable scroll on modal open - ๐ก
FEATUREAdded hooks for open/close animations - ๐ก
FEATUREAdded flag for toggling debug logs in console - ๐
ENHANCEMENTAdded ability to pass config toshowmethod - ๐
ENHANCEMENTCleaned upariatags for accessibilty - ๐
ENHANCEMENTAdded test suite for browser tests - ๐
BUGFIXFixed native form events not firing in modal - ๐
BUGFIXFixed modal blocking custom event listeners
- ๐ก
- 0.1.1
- ๐
BUGFIXFixed issue where validation was not firing
- ๐
- 0.1.0
- ๐
ENHANCEMENTReleased first minor version ๐
- ๐