akiran / akiran/react-slick

Force arrows to show (even in a disabled state)

Ouverte
#1,474 3 commentaires 2 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
11.9k
Forks
2.1k
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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?

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.