react-responsive-carousel icon indicating copy to clipboard operation
react-responsive-carousel copied to clipboard

Center mode on vertical axis

Open DonHuskini opened this issue 5 years ago • 1 comments

Based on this issue https://github.com/leandrowd/react-responsive-carousel/pull/185, seems that centerMode prop is just available for the horizontal axis. I tried setting it for the vertical axis and didn't work.

Is there any easy way to center the slides vertically? As a workaround, I overwrote the CSS transform prop of the slider class to handle manually how many percents it should translate.

DonHuskini avatar Jul 28 '21 00:07 DonHuskini

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.

stale[bot] avatar Jan 24 '22 01:01 stale[bot]