hexaflexa-org / timegrid

HexaFlexa Timegrid issues
0 stars 0 forks source link

Events can't stretch across multiple days #1

Open 2d0r opened 2 months ago

2d0r commented 2 months ago

Is it possible to display events that stretch across multiple days? I found the calendar is glitching if I try.

The following events were meant to start at 22:00 and end at 5:30 the next day:

Screenshot 2024-05-02 at 12 10 06

(The events are doubled because of my database, that's not part of the issue) As you can see, the events get pushed to the end of the starting day, and the grid glitches over their duration.

Would it make more functional sense to use a workaround and generate separate events for each day?

Otherwise Hexaflexa is fantastic! Very easy to set up and work with, and very customisable. Much much easier to use than react-big-calendar 👌🏼

Thank you!

codluca commented 2 months ago

The component does not support events that span multiple days. This is a top priority, though. It should make it in the next releases.

In the meantime, you could try to generate separate events for each day, just to have the visual. Dragging and resizing will not look nice, though. You shouldn't waste time trying to keep parts of events in sync. The component should handle this aspect.

Thank you for the nice words. Glad you like the component.