akiran / react-slick

React carousel component
http://react-slick.neostack.com/
MIT License
11.61k stars 2.09k forks source link

[feature request] gaps and padding #2268

Closed y-nk closed 5 months ago

y-nk commented 10 months ago
  1. It would be useful that we can set a gap (similar to flex gap) because we can't set margins (it messes up calculation)
  2. It would be nice if we could have padding within the carousel which does not influence width/page calculation.
bharath090909 commented 9 months ago

@y-nk, I would like to address this. Can I take it on?

y-nk commented 9 months ago

@bharath090909 i'm not owner of the repo so please go ahead. also, FYI i moved out of this library and implemented my own carousel with flex layout instead, which is better for layout calculation performances. it's a private library until i get clearance to open it.

akiran commented 5 months ago

We can't add this feature. You can add spacing with CSS and CustomSlide feature