namespace-ee / react-calendar-timeline

A modern and responsive react timeline component.
MIT License
1.91k stars 613 forks source link

Lack of Touch Event Handling in onCanvasContextMenu #927

Open RemaaBdair opened 3 months ago

RemaaBdair commented 3 months ago

Problem: Currently, the onCanvasContextMenu feature within the library is triggered by mouse and click events. However, it fails to respond to touch events on touch-enabled devices such as iPads. This limitation inhibits users from accessing the context menu functionality via touch inputs.

Proposed Solution: can we implement touch event handlers for the canvas element? By incorporating touch event handling alongside the existing mouse event handling, users will be able to access the context menu seamlessly across various input methods, including both mouse and touch interactions.