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

Area ResizeStart, ResizeEnd, Move actions no longer work on the event calendar for touch devices.

Asked by Anonymous
2 years ago.

We upgraded from version:
2021.4.5120 to version 2022.4.5457 so can't give an exact version this appeared in.
But the touch handlers for these actions rely on .internal.touch of the calendar/scheduler to exist and have the
relativeCoords, startResizing, and startMoving methods. These seem to have been made more private by adding an _. to the function name. The scheduler reexports these by wrapping them.

Example:
// internal API
touch.relativeCoords = function(ev) {
return touch._relativeCoords(ev);
};

As far as we could see the event calendar does not do this. This causes our custom area for resizing on mobile devices to break. We have fixed this on our side by reexporting these functions the same way the scheduler does. And that seems to have fixed it for our use cases.

Answer posted by Dan Letecky [DayPilot]
2 years ago.

This should be fixed now in the latest sandbox build (2022.2.5463):
https://release.daypilot.org/changes/js/

Thanks for reporting the issue!

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.