title: JQ+Mobile : Unable to preventDefault inside passive event listener due to target being treated as passive
body: <p>I just configure a use of jq-mobile and jq to hold Android mobile events (particularly swipe ans taphold ) into an application using same code (with some code blocks switching device and browser cases) and I get the error :</p>
  
  <p><strong>jquery.js?ver=1.12.4:3 Unable to preventDefault inside passive event listener</strong> due to target being treated as passive. See <a href="https://www.chromestatus.com/features/5093566007214080" rel="nofollow noreferrer">https://www.chromestatus.com/features/5093566007214080</a></p>
  
  <ul>
  <li>preventDefault @ jquery.js?ver=1.12.4:3</li>
  <li>s.move @ jquery.mobile.custom.min.js?ver= v1.4.5 custom packaged - 2017-04-15:3</li>
  <li>dispatch @ jquery.js?ver=1.12.4:3</li>
  <li>r.handle @ jquery.js?ver=1.12.4:3</li>
  </ul>
  
  <p>Into the same trace just before I get too :</p>
  
  <p><strong>jquery-migrate.js?ver=1.4.1:45 JQMIGRATE: Global events are undocumented and deprecated</strong></p>
  
  <ul>
  <li>migrateWarn @ jquery-migrate.js?ver=1.4.1:45</li>
  <li>jQuery.event.trigger @ jquery-migrate.js?ver=1.4.1:631</li>
  <li>$.fn.setCookieNotice @ front.js?ver=1.2.38:19</li>
  <li>cnHandleScroll @ front.js?ver=1.2.38:62</li>
  <li>dispatch @ jquery.js?ver=1.12.4:3</li>
  <li>r.handle @ jquery.js?ver=1.12.4:3</li>
  </ul>
  
  <p><strong>My questions :</strong></p>
  
  <ul>
  <li>How can I find into the code (Wordpress with 50 plugins and my owns) what is not accepted, deprecated and generates the error ?</li>
  <li>Must I try to not load jquery-migrate and detect errors by this way ?</li>
  <li>How to find code which fires deprecated events calls ? </li>
  <li>Which other way to solve the problem</li>
  </ul>
  
  <p>Thanks</p>
  
  <p>Trebly</p>
  
  <hr>
  
  <p>Note : even there are 14 threads related to same subject I have not found any which ask the same question. I is the reason I post it as not duplicate</p>