react-responsive-carousel
react-responsive-carousel copied to clipboard
transitionTime seems to be broken
Hi, I have the carousel running and everything works, except the transition time doesn't. When I specify transitionTime, it breaks the animation and just changes from slide to slide instantly.
<Carousel
autoPlay
renderIndicator={couraselIndicator}
showStatus={false}
swipeable={true}
showThumbs={false}
animationHandler={'fade'}
infiniteLoop={true}
transitionTime={2}
>
{slides()}
</Carousel>
if you want 2 seconds as transition time, you have to use transitionTime={2000} since it is in milli-second unit
As a note @toey-sup , the docs don't specify the unit. Not too difficult to test and figure it out, just mentioning. https://github.com/leandrowd/react-responsive-carousel
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.