timetable icon indicating copy to clipboard operation
timetable copied to clipboard

Drag on slots to create an event

Open mikeyyyzhao opened this issue 3 years ago • 3 comments

First off, great library!

I know it's possible to drag events around but is it possible to drag on empty slots to create an event? Or even drag on empty slots to trigger an action? Example from google calendar below. In google calendar, you hold onto a slot and drag down/up.

IMG_BFA77077B745-1

mikeyyyzhao avatar Aug 23 '21 01:08 mikeyyyzhao

Unfortunately, long press + drag on the background is not yet supported. You might, however, be able to implement something similar to Google Calendar: After the user taps on the background, create a special event for that time and display it using a special widget. This could be wrapped in a PartDayDraggableEvent, and have additional drag handles at the top and bottom to adjust the start or end time individually.

JonasWanke avatar Aug 26 '21 10:08 JonasWanke

Thank you @JonasWanke ! Will give that a try

mikeyyyzhao avatar Aug 31 '21 15:08 mikeyyyzhao

Little late :D, but have you managed to do it, @mikeyyyzhao?

Musta-Pollo avatar Feb 08 '23 11:02 Musta-Pollo