JonasWanke/timetable

Drag on slots to create an event

mikeyyyzhao opened this issue · 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

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.

Thank you @JonasWanke ! Will give that a try

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