React-slick: Items display vertically and disappear

Created on 16 Apr 2019  路  3Comments  路  Source: akiran/react-slick

I tried using react-slick today and when I ran my code the items appeared stacked up vertically and disappeared. I noticed it is the same issue on your official example here https://codesandbox.io/s/zzloxr09mp.

Most helpful comment

I have the same problem.

I made the import on my .js file, then on the HTML, then tried with the two, and the problem is still present.

I saw the items appear very quickly, they stretch horizontally end finally disappear vertically.

I don't understand how it can work.

I want to precise that I run Slider Syncing (AsNavFor) example.
AND in the dev console, I can see that all styles are applied correctly, but I just saw the title above "First slider", a white page, then 'Second slider", and a white page again. I can see the divs for buttons, but they are not displayed, and the page is very very large at this time.
I tried npm install slick-carousel with import, after the test the CDN link in the HTML...

So, I don't understand...

All 3 comments

I have the same problem

I have the same problem.
Using: react 16.8.6, react-slick 0.24.0, Chrome 74

You have to include stylesheets.

I have the same problem.

I made the import on my .js file, then on the HTML, then tried with the two, and the problem is still present.

I saw the items appear very quickly, they stretch horizontally end finally disappear vertically.

I don't understand how it can work.

I want to precise that I run Slider Syncing (AsNavFor) example.
AND in the dev console, I can see that all styles are applied correctly, but I just saw the title above "First slider", a white page, then 'Second slider", and a white page again. I can see the divs for buttons, but they are not displayed, and the page is very very large at this time.
I tried npm install slick-carousel with import, after the test the CDN link in the HTML...

So, I don't understand...

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Exomnius picture Exomnius  路  3Comments

PolGuixe picture PolGuixe  路  3Comments

AlmogRnD picture AlmogRnD  路  4Comments

vugman picture vugman  路  3Comments

will88 picture will88  路  3Comments