React-slick: Props for disabling click event on dots

Created on 12 Apr 2018  路  4Comments  路  Source: akiran/react-slick

Is there any way of disabling dots being clickable i.e i just need dots as page indicators not allowing users to click on them to change pages.

Best regards
Sumi

stale

Most helpful comment

How about with CSS.

.slick-dots li button{
    pointer-events: none;
}

All 4 comments

  • 1

How about with CSS.

.slick-dots li button{
    pointer-events: none;
}

I solved it ! thanks <3

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

laveesingh picture laveesingh  路  3Comments

adamthewan picture adamthewan  路  4Comments

eternalsky picture eternalsky  路  3Comments

briziel picture briziel  路  3Comments

slashwhatever picture slashwhatever  路  3Comments