akiran / akiran/react-slick

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

Offen
#1,960 2 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
11.9k
Forks
2.1k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.