akiran / react-slick

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

[bug] slider breaks on SSR when vertical is true #1484

Open tompere opened 5 years ago

tompere commented 5 years ago

Issue Reproduction

https://codesandbox.io/s/9wrmql2xo (or see live site)

Description

React SSR render (using next.js)

screen shot 2019-01-15 at 16 34 59

React Browser render

screen shot 2019-01-15 at 16 35 17

slick settings

{
    dots: true,
    infinite: false,
    vertical: true,
    verticalSwiping: true,
    slidesToShow: 3,
    slidesToScroll: 1
  }
sidzan commented 5 years ago

I also encountered the same issue, were you able to fix it or find any alternative solution?

Orient87 commented 4 years ago

And I have the same problem, maybe someone has a solution?

gorork commented 2 years ago

Same issue. Any solutions?