akiran / react-slick

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

First slide slow to show when fade set to true on initial page load #2261

Closed zwelhtetyan closed 5 months ago

zwelhtetyan commented 11 months ago

Delay with empty white screen in initial page load when i set fade to true

        <Slider
          touchMove={false}
          autoplay
          speed={1500}
          arrows={false}
          autoplaySpeed={5000}
        >
          {sortedCvs.map((cv) => (
            <Image
              key={cv.src}
              src={cv.src}
              alt="cover photo"
              width={750}
              height={400}
              className="h-48 w-full object-cover object-center xs:h-60"
            />
          ))}
        </Slider>
Over-reaction commented 11 months ago

我也有类似的这个问题,幻灯片第一次循环播放完毕,第二次播放的时候一开始右侧就会出现一个空白的块一闪而过

akiran commented 5 months ago

That could be the network delay in loading the first image. May not be an issue with this library