akiran / akiran/react-slick

[doc] state explicitly that a container with padding is required

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

Descrizione

I was following the example on https://react-slick.neostack.com/
Turns out that margin is required on the slides to render the arrows and on the bottom to render the dots. There's no mention of it in the docs.
I have to inspect the DOM to find this out, both on the documentation page and example (https://codesandbox.io/s/ppwkk5l6xx).
It'll help those who haven't used jQuery slick a lot if this is stated in the docs.

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.