Skip to content

Releases: YIZHUANG/react-multi-carousel

Fixed a typo in Readme and adjustment to the partialVisbile props.

26 Apr 16:15
Compare
Choose a tag to compare
  1. Previously in readme, "partialVisbile" is written wrongly as "paritialVisibile", it should be "partialVisbile".
  2. Remove the right gutter when reaching the end of slides in non-infinite mode.

6ca29a2
b16a1d0

Fixed flickering issues on safari

24 Apr 19:07
Compare
Choose a tag to compare

Revert the changes that was introduced in 1.3.12

24 Apr 12:56
Compare
Choose a tag to compare

In 1.3.12 there were changes introduced to pre-clone the carousel items, but it creates "white flashes" at the same time, so these changes are reverted in this version, it is stable now.

Better TypeScript usage instruction.

Added centerMode to show previous and next items partially

13 Apr 18:20
Compare
Choose a tag to compare

It is recommended to use centerMode and infinite mode together.

Added focusOnSelect prop.

11 Apr 20:06
Compare
Choose a tag to compare

Go to slide on click and make the slide a current slide.

Dot's transition is infinite mode has no delay now.

08 Apr 20:45
Compare
Choose a tag to compare

Previously there were delay when you are passing showDots={true} and infinite={true}.
This is because there was a type-checking mistake in the code as the following:

if(!index)

which is now changed to:

if(index !== undefined)

Because index can be 0, and it should be truthy.

The feature is stable now.

Added IE11 and IE10 support, and modify the dots mode naming.

05 Apr 08:07
993b5c4
Compare
Choose a tag to compare

In previously version if you are using the custom dots mode, you would have to do the following to know if a dot is active or not.

if(slideIndex === currentSlide)

Now you can just do

const CustomDot = ({ active }) => {
   return <li className={active? 'active' : 'not-active'}><button>I am a dot</button></li>
}

1.2.4 - change naming of some apis.

26 Mar 22:12
Compare
Choose a tag to compare

Here are a list of the props that are changed:

afterChanged -> afterChange
disableSwipeOnMobile -> swipeable
forSSR -> ssr
disableDrag -> draggable
removeArrow -> arrows
shouldShowDots -> showDots
contentClassName -> sliderClass
itemClassName -> itemClass
containerClassName -> containerClass
dotListClassName -> dotListClass