Releases: metafizzy/flickity
Releases · metafizzy/flickity
v2.0.5
v2.0.4
v2.0.3
v2.0.2
v2.0.1
v2.0.0 - remove IE8 & 9 support
New features
- 🔔
groupCells
option - group cells together as individual slides. #22 - 🔔
adaptiveHeight
- change carousel height to selected cell. #11 - 🔔
bgLazyLoad
- lazyload background images. #173 - 🔔
scroll
event - do cool stuff like progress bars and parallax effects - 🔔
dragThreshold
- add more wiggle room for touch vertical scrolling. #138 - 🔔
selectCell
method - select a cell via element or selector string `flkty.selectCell('.cell-3'). #148
Breaking changes
jQuery events are namespaced with .flickity
.
// v1, will not work with v2
$carousel.on( 'staticClick', function() {...})
// v2, add .flickity namespace
$carousel.on( 'staticClick.flickity', function() {...})
Improvements & changes
- 🛠 Upgrade browser support and remove IE8, IE9, Android 2.3 support. #178. Remove dependencies: eventie, classie, doc-ready. Upgrade dependencies
- 🛠 replace EventEmitter with smaller EvEmitter.
- 🛠
select
event added in place of cellSelect.cellSelect
event will continue to work in v2. - 🛠 HTML initialization can be done with
data-flickity
HTML attribute. Flickity v2 is backwards compatible with previous code:js-flickity
class anddata-flickity-options
attribute. - 🍹 replace Grunt with gulp for tasks
- 🐞 fix cursor position of text inputs, textareas. #403
- 🐞 Prevent autoPlay on init with hidden page. #388
- 🛠 select closest cell with wrapAround. #113
v1.2.1
v1.2.0 - Add player API methods
- 🔧 Added player API methods:
playPlayer
,pausePlayer
,unpausePlayer
(stopPlayer
already there). Fixed #94 - 🔧 Added
aria-label
to previous and next buttons for accessibility, for #66 - 🪲 Fixed positioning with freeScroll when adding/removing a cell. Fixed #324
- 🪲 Fixed scroll then touch then can't drag bug on touch devices. Fixed #257
v1.1.2 - add pauseAutoPlayOnHover; bug fixes
- Added
pauseAutoPlayOnHover
to pauseautoPlay
on hover. Fixed #55 - Fixed
event
in lazyLoad. See #234 - Added
parseInt
forselect()
. Fixed #260 - Moved header comment to
index.js
. Fixed #265 - Added hack to fix scroll jump after focus. Fixed #76
- Fixed initializing with high
initialIndex
. Fixed #291 - Added instant argument for
select()
to allow selecting without animation. Fixed #128
v1.1.1 - Drag & tap fixes
- Updated Unidragger to v1.1.5
- Fixed freeScroll bug flicking past ends. #181
- Fixed prepend animation regression. Fixed #201
- Allow range input sliding. Fixed #216
- Disable emulated click event triggering on iOS. Fixed bug with asNavFor on iOS #189
- Fixed staticClick triggering after scroll on touch devices. Fixed #123