Releases: drublic/css-modal
Releases · drublic/css-modal
v1.1.3
- Call init() if neither RequireJS nor NPM is available
v1.1.2
v1.1.1
v1.1.0
New features
- Add different modal animation styles (#51)
- Register CSSModal as module for AMD (#57)
- Add function to keep focus in modal when tabbing through (#26)
- Allow multiple, stackable modals (#20)
Improvements
- Use a name for the main component: CSSModal
- Add gallery thumbnail images to gallery footer
- Add focus state for close button
- Better compatiblity for IE8
- Add polyfill for event.preventDefault to work with IE8
- Add compatiblity for IE8 (use "bean" library for event handling)
- Only activate stacked modal if there already is another modal
- Add HTML5 Shiv for IE8 in visual tests
- Improve ARIA support
- Unify close btn on mobile
- Add error handling to
on
method to prevent wrong function calls - Add option to configure mobile-layout breakpoint
- Modularize config, core and theme into separate files (#73)
- Update background transparency image (#67)
- Rewrite trigger method to use
new CustomEvent
(#56) - Apply all functions directly on the modal-object
- Rename function
_dispatchEvent
totrigger
- Rename function
_addEventListener
toon
- Move set and unset of modal in own function
- Add convenience functions to add and remove classes on elements
- Add native style momentum scrolling to content area
Plugins
- Add folder plugins for extendable modules
- Add plugin to stretch a modal to 80% of the screen height
- Implement max width for modal via data attribute
- Add gallery plugin
- Add a spinner
- Add resize plugin
- Add HTML5 video plugin
Bugfixes
- The user can now load/mock Bean during the runtime
- Fix jumping of the page on devices with small screens (#32)
- Update body scrolling behavior: Prevent double scroll bar in FF and Co
- Remove scrollbars for lt IE9 (#67)
- Fix close button position
- Correct handling of aria-hidden with JavaScript
- Prevent overflow in mobile modals
- Bugfix: Prevent body jump in Chrome Canary
- Bugfix: UTF-8 problem in Ruby 1.9.3 (#61)
- Bugfix: open modal on pageload (#46)
- Prevent body from scrolling when scrolling in modal on iOS and Android (#31)
Other
- Add FAQ for questions we get from time to time
- Update documentation
- Rename tests directory to test
- Add better function documentation in JavaScript
- Update node version to v0.10 when working with Travis
- Update npm dependencies
v1.1.0-beta6
- Add plugin to strech a modal to 80% of the screen height
v1.1.0-beta5
- Prevent scrolling of body on small screens
v1.1.0beta4
- Fix jumping of the page on devices with small screens (#32)
v1.1.0beta3
- Fix vertical resizing for large pictures
- Fix margins around modal in resize plugin
v1.1.0beta2
- Fix position of close button when modal is between mobile and table
- Avoid incorrect rendering of the detail container
- Correct resizing and positioning in IE8
- Better compatiblity for IE8
- Fix magic numbers in resize script
- Add gallery thumbnail images to gallery footer
- Only activate stacked modal if there already is another modal
- Always show gallery arrows on mobile
v1.1.0beta1
Allow the content with id 0 to be selected