LoginSignup
5
3

More than 5 years have passed since last update.

slick.js のフリックが iOS10 で動かないとき

Last updated at Posted at 2017-06-21

iOS 10 になってからフリックが効かない時の対処法

通常slick指定の後に以下の記述を追記

$('.carousel').bind('touchstart', function(){
  return true;
});

これできっと動くはず。動かない場合はその外側の要素を指定するといいかもしれない。

参考

5
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
3