akiran / akiran/react-slick

Slider does not work - elements are displayed all below each other

Open
#1,960 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
11.9k
Forks
2.1k
PR merge metrics
No merged PRs in 30d

Description

Unfortunately, all elements are displayed and one below the other. See screenshot below.
This view bug occurs on the following versions of Microsoft Edge and Google Chrome

_Microsoft Edge Version 87.0.664.66 (64-Bit)
Google Chrome Version 87.0.4280.88 (64-Bit)_

I use the following settings for React Slick:

```
const settings = {
dots: false,
infinite: true,
speed: 500,
slidesToShow: 1,
slidesToScroll: 1,
prevArrow: ,
nextArrow: ,
afterChange: (current) => setCurrentSlide(current),
};
```

The slider is structured as follows:

```











```

_Notice that I've changed the name of the SVG Component to SomeSVG._

![103660503-f4adea00-4f6d-11eb-9059-5a442e31b4b1](https://user-images.githubusercontent.com/33623047/103819681-2ce72280-506b-11eb-856c-f820572dbd88.png)

It works well on the MacBook with the Google Chrome Version 87.0.4280.141 and Safari.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.