Slick 2.0 is compatible with jQuery 4.
This is a major release because it migrates off jQuery APIs that were removed in
jQuery 4 and drops some long-obsolete CSS/font support.
⚠️ jQuery 4 compatibility (breaking)
- Replaced jQuery APIs removed in v4:
$.isArray(...)→Array.isArray(...).focus()event-trigger shorthand →.trigger('focus')
- Rewrote the UMD / CommonJS module wrapper for robust loading — jQuery is now
required lazily and it no longer assumes awindow(safer for SSR / non-browser
environments).
Fixes
- Focus/blur handling rewritten:
focus.slickandblur.slickare now separate
handlers and no longer callstopImmediatePropagation(), so focus events
propagate to other listeners (#2901). - Fixed misplaced
.slick-activeclass whencenterMode: trueand total slides
≤slidesToShow(#4065). - Fixed centering logic when using swipe.
- Cloned slides now use
.removeAttr('id')instead of.attr('id', ''), avoiding
empty/duplicateidattributes. - Corrected the counter in the dots buttons'
aria-label. - Fixed
slick-image-url/ SCSS url interpolation and a wrong-quotes@charset.
Styling & assets
- Cleaned up
transformproperties: unprefixed, unitless0, consistent
translate/translate3dspacing. - Removed poorly-supported CSS:
-webkit-font smoothing and vendor-prefixed
visibility handling. - Dropped SVG font support (no longer needed); added
woff2font + font stacks
andfont-display: swap. - Drag cursor now uses
grab/grabbing. - Allow text selection when the slider is not draggable (#3112).
Full Changelog: v1.8.1...v2.0.0