This is a migrated thread and some comments may be shown as answers.
Scheduler with context menu problem on mobile browser
1 Answer 15 Views
This is a migrated thread and some comments may be shown as answers.
Jason
Top achievements
Rank 1
Jason asked on 27 Oct 2017, 07:30 AM

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

1 Answer, 1 is accepted

Sort by
0
Ivan Danchev
Telerik team
answered on 30 Oct 2017, 03:39 PM
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.
Asked by
Jason
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Share this question
or