- 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 😊
- 🌀