title: How to determine if a resize event was triggered by soft keyboard in mobile browser?
body: <p>There's a lot of discussion about the soft keyboard but I haven't found a good solution for my problem yet.</p>
  
  <p>I have a resize function like:</p>
  
  <pre><code>$(window).resize(function() {
      ///do stuff
  });
  </code></pre>
  
  <p>I want to do the 'stuff' in that function on all resize events except for when it is triggered by the soft keyboard.  How can I determine if the soft keyboard has triggered the resize?</p>