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

    Hi,


    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
    Admin
    Petyo avatar
    2439 posts

    Posted 12 Jul Link to this post

    Hi,

    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. 

    Regards,
    Petyo
    Telerik by Progress
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
  3. Kendo UI is VS 2017 Ready
Back to Top