- Accessibility
- Set and return focus on show/hide
- Tab capturing and looping within the modal
- Close the modal when
escape
is pressed - Aria attributes
- Full unit test support
- Vertically position at 38.1966% of the viewport height
- Max height of 90% of viewport height
- Set
box-sizing: border-box
andoverflow: auto
on the modal - Set
overflow: hidden
on body to prevent scrolling - Use a button tag for the close element
- Add the isVisible API method
- Automatically attach an ID to all modals
- Allow data to be passed to event handlers when triggering events
- Add the
parent
option - Bug fix for undefined class on the pico-close element
- Browserify support
- Add the
buildDom
API method
- Improved centering of modals via
translate
- Remove IE8 handlers
- Add Aria dialog role