title: multiple touches: touchend event fired only when a touchmove occurs
body: <p>I would like to add some multitouch features to my javascript application when it is accessed from an ios device (and maybe android later).</p>
  
  <p>I want to provide a <em>shiftkey-like</em> functionality: the user may hold a button on the screen with one finger, and while this button is pressed, the behavior for a tap action on the rest of the screen is slightly different from the classic tap.</p>
  
  <p>The problem i'm running into is that i do not receive any <strong>touchend</strong> event for the tapping finger unless a <strong>touchmove</strong> is fired for the first finger holding the <em>shiftkey</em> button.</p>
  
  <p>Because the screen is very sensitive, <strong>touchmove</strong> events gets easily fired and in most cases everything works fine.</p>
  
  <p>But when the user's finger is a bit too still, the tapping is not detected until the user moves his finger a bit.
  This induces a variable 'delay' between the tapping and the action that occurs on the screen (the delay may vary and last a few seconds if the user is very calm).
  My guess is that this delay will cause the user to tap again and thus fire the action a second time, which is something that i <em>don't</em> want !</p>
  
  <p>You can test it here with your ipad/iphone : <a href="http://jsfiddle.net/jdeXH/8/" rel="nofollow noreferrer">http://jsfiddle.net/jdeXH/8/</a></p>
  
  <p>Try to make the body remain green for a few seconds by holding your finger very still on the cyan div while tapping on the red div.</p>
  
  <p>Is this behavior to be expected ?
  Is there some known workaround for the problem ?
  I would have expected the touchend event to be fired right away when the finger is removed from the screen.</p>
  
  <p><em>i tested this with iOS 5.1.1 (ipad1 and iphone4s)</em></p>
  
  <p>edit: found a similar question <a href="https://stackoverflow.com/questions/8839333/multitouch-touchevents-not-triggered-as-they-should-on-safari-mobile">Multitouch touchEvents not triggered as they should on Safari Mobile</a></p>