Unable to center dynamic content with react-slick

37 views Asked by At

I am trying to implement a carousel that expands the centered item to show more content. Currently I have this codesandbox. However I am unable to center the slide as its pushed to the left and it randomly pushes it to the right upon further scrolling. I have tried the solutions suggested in this ticket as well as modifying the paddings and margins in the .slick-track and .slick-list to no avail.

At the moment it looks like this: Current implementation

0

There are 0 answers