Right-click/long press in eventcalendar

Is right-click/long-press of a calendar cell supported on iPhone?
In my case it’s not working on iPhone, but it is working on Android.

I understand the “contextmenu” event is not supported,
but I wonder if there are workarounds or maybe a solution in mobiscroll?

Hi @Marcel_Overdijk :wave:

Yes, on a touch screen (regardless of the OS), the built-in way to create events is by using a long tap + optional drag.

I assume you are trying to create a new event with a long tap, right?

Feel free to share more information about the use case.

Hi @Zsombor , thanks for reaching out.

We are trying to use the mobiscroll cell click events like:

const options: MbscEventcalendarOptions = {
    // other options
    onCellClick: (args: MbscCellClickEvent, inst: EventcalendarBase) => {
        // show a custom toast with additional information about the cell/event.
    },
    onCellRightClick: (args: MbscCellClickEvent, inst: EventcalendarBase) => {
        // open a custom context menu popup with actions for the cell/event.
    },
};

I’ve omitted the code for the actual cell click handlers for simplicity.

Both onCellClick and onCellRightClick events work on desktop and on Android.

On iPhone only the onCellClick works, but the onCellRightClick not unfortunately.

or is there another way to trigger long tap on ios using mobiscroll?