kenwheeler / slick

the last carousel you'll ever need
kenwheeler.github.io/slick
MIT License
28.49k stars 5.89k forks source link

Changing dots' position causes the failure of drag #2619

Open TonyChanNJU opened 7 years ago

TonyChanNJU commented 7 years ago

Hi

When I change dot's position above the carousel items, mouse can't drag to switch carousel items.

Is there any additional option should be set?

====================================================================

The demo is here

https://jsfiddle.net/tonychannju/Lcw5zngb/1/

====================================================================

Steps to reproduce the problem

  1. just drag the carousel item, you'll find you can't switch carousel.
  2. but ,when unable the css setting(.slick-dots {top:20px;}), the drag action will work.

More Details

nkast commented 7 years ago

How about this? https://jsfiddle.net/y24555z1/

jamal-0x1 commented 5 years ago

Adding the following CSS will solve the problem .slick-dots{ max-width: 100px; max-height: 100px; }