I am trying to display the scheduler event context menu when the user taps on the event from a touch device. I want this behavior to happen only on touch devices (small screens) not on desktop (large screen).
How I implemented this, is by creating an area that covers the whole event and gave it (opacity: 0) to be transparent. This area is only displayed on small screens. I open the context menu in the onClick function. (Note that I tried to set action = "ContextMenu" but it didn't work). This code works fine when testing on desktop (when I decrease the size of the browser). Testing it on an actual touch device doesn't always work. Sometimes the onClick event fires and sometimes it doesn't. I couldn't find a demo that uses an area to open the context menu so that I can test it on a touch device to see if this issue is caused by daypilot scheduler or by my implementation.
Your help is highly appreciated.