Scheduler with context menu problem on mobile browser

2 posts, 0 answers
  1. Jason
    Jason avatar
    12 posts
    Member since:
    Oct 2015

    Posted 27 Oct Link to this post

    Hello,

    I’m using Kendo Scheduler component (version v2017.3.913), my application was developed to work for both desktop and mobile browser. I add a context menu to copy and paste an event. But, I have problem about tap and hold to copy/paste event on mobile browser. After context menu is showing menu popup, it also simultaneously slide to edit event. 

    P/s: I'm not allow move and resize event.

    I've prepared the following Dojo Snippet to illustrate the issue: https://dojo.telerik.com/@jasonlam/OyavI/3 

    How to fix it or any workaround?

    Regards,

    Jason

  2. Ivan Danchev
    Admin
    Ivan Danchev avatar
    1326 posts

    Posted 30 Oct Link to this post

    Hello Jason,

    As a workaround you could use a flag (contextMenuIsOpen in the example below) which will indicate the ContextMenu is open and by checking its value you can prevent the Scheduler's Edit event (which fires when the Editor is open). See this dojo example (the ContextMenu's "open" and "close" event handlers and the Scheduler's "edit" event handler in particular).
     
    Regards,
    Ivan Danchev
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top