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

artemidas picture artemidas  路  4Comments

walker-jiang picture walker-jiang  路  3Comments

Exomnius picture Exomnius  路  3Comments

rohitgoyal7 picture rohitgoyal7  路  3Comments

darkalor picture darkalor  路  4Comments