Releases: kkx64/react-simple-carousel
Releases · kkx64/react-simple-carousel
v1.5.8
- New
keyboardNavigation: boolean
prop to allow changing slides with the arrow keys
- Small transition improvements on mobile
- Upgraded packages
v1.5.7
arrowRender
prop on CarouselArrows
for easier overriding of the arrow, without providing custom positioning each time
transition: 'slide' | 'fade'
property on Carousel
v1.5.6
- Fixed issue where unmounting / mounting the Carousel would leave slides with
width: 0px
- Set
peerDeps
for React >=18
instead of ^18
v1.5.5
- Fixed useCallback without dependencies in the setSlide function, causing the active slide to become
NaN
v1.5.4
- Add
pauseOnHover
prop to CarouselProps, to control pausing the autoPlay feature while hovering
v1.5.3
- Add inertia swiping on mobile (if user swipes short but quickly, treat it as a full swipe)
v1.5.0
- Normal carousel mode with
noActiveSlides = true
- Centered carousel with
centered = true
, works only when noActiveSlides = false
v1.4.1
- Custom useMeasure hook for better performance
- Filter out falsy children that were being rendered as slides when rendered conditionally