React-slick: Links in a slide are not clickable when 'fade: true'

Created on 14 Apr 2020  路  2Comments  路  Source: akiran/react-slick

Links in a slide are not clickable when fade is true, even tried touchMove set to false

const settings = {
      slidesToShow: 1,
      speed: 500,
      autoplay: false,
      swipe: false,
      fade: true,
      touchMove: false,
};

Any workaround?

bug

Most helpful comment

it may happen because fade only affects opacity. Slides may be on top of your frame but invisible.

it affected me while I was using pinch and zoom gestures.

My solution was to add pointer-events: none to .slick-slide
and pointer-events: unset !important to .slick-current

All 2 comments

it may happen because fade only affects opacity. Slides may be on top of your frame but invisible.

it affected me while I was using pinch and zoom gestures.

My solution was to add pointer-events: none to .slick-slide
and pointer-events: unset !important to .slick-current

Having the same issue here. @outerlook thanks for a tip, should work.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rohitgoyal7 picture rohitgoyal7  路  3Comments

briziel picture briziel  路  3Comments

darkalor picture darkalor  路  4Comments

Exomnius picture Exomnius  路  3Comments

adamthewan picture adamthewan  路  4Comments