Button click with a little movement does not fire click event

2 posts, 0 answers
  1. Kerry
    Kerry avatar
    19 posts
    Member since:
    Jul 2013

    Posted 05 Jun 2014 Link to this post

    Is there a way to make a button receive a click event when the user moves a little bit during the click?

    On mobile devices I have found many users will move their finger a little bit when clicking on a button.  In Kendo UI Mobile if movement occurs during the click the click event is not fired.  To see this happen, run the following plunkr:


    When clicking drag just a little bit and the click event will not fire.  Only when you click with no movement will the click event fire.

    I would like an event something like "touch up inside" which would fire when the user lifts their finger from a button.  

  2. Petyo
    Petyo avatar
    2444 posts

    Posted 09 Jun 2014 Link to this post

    Hi Kerry,

    Detecting a "touch up inside" is quite complicated. Unlike the mouse events, the touch events always report the originating element as the current event target; there is no equivalent of mouseleave. 

    In the internals of Kendo UI we have a setting which controls the button sensitivity to movement, but it is currently private and can't be set from the user code. However, this sounds like a sensible feature, so I have logged it for our next iteration. 

    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top