Releases: FormidableLabs/nuka-carousel
[email protected]
- Fix to only include inert property when slide is not in view (#1000) @allypalanzi
[email protected]
- Implement fixed width slides with intersection observer (#985)
- Fix cellAlignment issue
- Enforce
scrollMode
remainder
ifslidesToScroll
auto
is used
[email protected]
[email protected]
Minor Changes
-
add onUserNavigation prop to listen for user-triggered navigation (#970)
-
allow for any element or component in the nextButtonText and prevButtonText props, instead of just strings (#970)
-
pass nextDisabled, previousDisabled, and pagingDotsIndices to render*Controls callbacks to aid in the creation of custom controls (#966)
-
adds the ability to use custom easing functions for the animations via
easing
andedgeEasing
(#959) -
add props to enable users to hook into interactions with the default carousel controls (#970)
Patch Changes
[email protected]
Minor Changes
- makes it possible to swipe over multiple slides at once rather than being limited to one (#956)
Patch Changes
-
Fix autoplay timing so the interval is not extended occasionally when wrapAround=true (#954)
-
make the prev/next buttons jump to appropriate indices with cellAlign=center|right (#952)
-
keyboard-triggered "firstSlide" or "lastSlide" actions are now animated, and now take cellAlign into account (#958)
-
make autoplay continue to the last slide when cellAlign != left and slidesToShow > 1 (#952)
-
children of Carousel that are falsy will not be rendered as slides (#953)
-
fix missing slide-visible classes when slideIndex has fractional digits (#947)
-
correct button disabling when cellAlign=center|right (#952)
-
show a dot corresponding to the last slide when cellAlign=center|right (#952)
-
fixes number of dots in default controls and eliminates janky animation when changing slides rapidly (#945)
-
setting "dragging" to false will no longer disable carousel swiping on mobile ("swiping" does that) (#956)
-
keyboard interactions when focused on the carousel are now kept from bubbling up and triggering other listeners (#958)
-
fix initial index when autoplayReverse=true and cellAlign is not left (#952)