title: jquery keydown preventDefault not working on Android
body: <p>Here is my jsfiddle link</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var maxLen = 3;
  $('#txt_my').keydown(function(e) {
    var Length = $(this).text().length;
    if (Length &gt;= maxLen &amp;&amp; e.keyCode != 8) {
      e.preventDefault(); // will cancel the default action of the event
    }
  });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="txt_my" contenteditable="true"&gt;h&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p><a href="https://jsfiddle.net/yupok/nrmcg0L6/" rel="nofollow noreferrer">https://jsfiddle.net/yupok/nrmcg0L6/</a></p>
  
  <p>This above link is working on desktop browsers but not working in any android.</p>