akiran / akiran/react-slick

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

Aperta
#1,960 2 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
11.9k
Fork
2.1k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.