A small maintenance release featuring one RTL bug fix.
🐛 Bug fixes
- Fixed RTL + variableWidth rendering as LTR. Slick's right-to-left layout depends on the [dir=rtl] .slick-slide CSS rule, but the rtl: true option only drove the JavaScript positioning. It never guaranteed that rule matched. As a result, pages that set direction via CSS (direction: rtl), a utility class, or a dir="rtl" attribute that wasn't an ancestor of the slider would render left-to-right, which was especially broken with variableWidth: true. Slick now applies dir="rtl" to its own slider element when rtl: true, so the option works on its own regardless of surrounding markup.
Full changelog: v2.0.0...v2.0.1