search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

inconsistent behavior with touch events

Asked by Vincent
21 days ago.

I am having some issues with the grid’s event onEventClick event, when trying to capture a touch on an event. It seems to be triggering twice as both a click and a touch. It doesn’t seem to be consistent but it does happen enough that it’s causing issues. It doesn’t seem like prevent defaults is working either in the onEventClick().

is this something that has been reported before? Is there anything that could be done to prevent this?

Comment posted by Dan Letecky [DayPilot]
21 days ago.

Could you please specify:

  • your device

  • browser

  • DayPilot version

  • component (Calendar, Scheduler…)

The event click is handled using touchstart and the default click handler is canceled because exactly this can sometimes happen (the click event fires unreliably on touch devices).

Comment posted by Vincent
20 days ago.

I’m using google chrome, simulating a mobile device. Version is 2022.1.5242. it is the scheduler component.

Answer posted by Dan Letecky [DayPilot]
17 days ago.

Thanks for the update. This issue should be fixed already (since 2024.2.5936).

If the problem persists with the latest version, please let me know.

New Reply
This reply is
Attachments:
or drop files here
Your name (optional):