LoginSignup
1

More than 5 years have passed since last update.

古いiScroll内で該当する要素のclickイベントが2回呼ばれる場合の対処法

Last updated at Posted at 2014-01-30

onBeforeScrollEndメソッドに下記を設定。

onBeforeScrollStart: function(e){
    if ($(e.target).closest('無視したい要素のクラス名')) {
       e.preventDefault();
    };
}

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
1