react-slick
react-slick copied to clipboard
UI is broken when changing version from 0.29.0 -> 0.30.2 with one image.
issue
When multiple images are set up, the UI is not broken, but when a single image is set up, the UI is broken. The situation is that we are reverting the library version back to 0.29.0 at one point.
code
<Slider>
{["https://placehold.jp/500x300.png"].map((url, index) => (
<img key={index} src={url} alt={`slide-${index}`} />
))}
</Slider>
image
version
- next.js: 14.0.4
- react-slick: 0.30.2
- slick-carousel: 1.8.1
- react: 18.2.0
I think it's the same as https://github.com/akiran/react-slick/issues/2337