-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Description
Do you want to request a feature or report a bug?
bug
What's the current behavior?
See screenshot: appointment indented further after the middle, 15 min appointment.

Expected behavior:
The two events in the middle should be aligned horizontally to start at the same x position.
Suggested fix:
DayEventLayout.js
function onSameRow(a,b) {
return (
// Occupies the same start slot.
(Math.abs(b.start - a.start) < 15) ||
// A's start slot overlaps with b's end slot.
(b.start > a.start && b.start < a.end)
)
}
At the moment a,b events in the second part of the condition are swapped, and the first part, the difference is set to 30 mins. Should I create a PR?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels