Adding e.preventDefault() to tap events

2 posts, 0 answers
  1. Ron
    Ron avatar
    122 posts
    Member since:
    Sep 2011

    Posted 08 Jul Link to this post


    We recently switched from using onclick events to using kendo tap event for our mobile app (following your suggestion in other post).

    As we found out, tap events are propagating and result with unintended events. For example - when the user clicks a button in view1 which navigates to view2, clicking this button will lead to view 2 but may also cause triggering a button of view2 that was located at the same position of the button in view1. 

    We also found out (following another suggestion you gave us in a different post) that using e.preventDefault()  is solving this problem.

    Our app has dozens, if not hundreds, tap events. Is there a better way to add them e.preventDefault()  rather than go over all those places in the code and add it there?

  2. Petyo
    Petyo avatar
    2437 posts

    Posted 12 Jul Link to this post


    we don't have any concrete suggestion for this case that does not involve the modification of our source code. Notice however that we don't provide support for modified versions of our source code. 

    Telerik by Progress
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
Back to Top