akiran / akiran/react-slick

Force arrows to show (even in a disabled state)

Offen
#1,474 3 Kommentare 2 Reaktionen 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

When the width of the track can fit all the slides, the arrows disappear. I'd like to be able to force the arrows to be visible always, whether disabled or not.

Here's a demo that has one slide and the arrows are missing:
https://codesandbox.io/s/zljkw3x09x

If I add more slides, the arrows show up. My goal is to **always** display the arrows (they would be disabled if they can't navigate left and/or right). How can I do that?

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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