akiran / react-slick

React carousel component

Home Page:http://react-slick.neostack.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UI is broken when changing version from 0.29.0 -> 0.30.2 with one image.

gonta1026 opened this issue · comments

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

スクリーンショット 2024-03-21 17 06 23

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 #2337