akiran / akiran/react-slick

Responsive breakpoints not applied on initial render in react-slick v0.31.0

Aperta
#2,446 1 commento 5 reazioni 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

When using responsive settings, breakpoints apply correctly in browser devtools (because resizing triggers recalculation). However, on real mobile devices, the slider initializes with desktop settings and only switches to the correct breakpoint after a resize event (e.g., rotating the device). This makes responsive design unreliable on mobile.

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.