Uploaded image for project: 'ZK Calendar'
  1. ZK Calendar
  2. ZKCAL-90

Events that end on hh:00 cause overlap with events that start on the same time

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 3.1.2
    • 3.0.1
    • Security Level: Jimmy
    • None

      Steps to Reproduce

      Create 2 CalendarItems in the same day, with the end of the first one being a full hour, and the start of the next one being the same full hour.

      ex: test1 [14:00, 16:00]; test2 [16:00, 18:00]

      Current Result

      2nd event will display as if it was overlapping the first event (50% size, packed to right side)

      Expected Result

      If the 2 events are not overlapped, they should use the whole column.

      Debug Information

      FixPosition function checks for timeslots occupied by events.

      events that end exact boundary of a time slot are marked as occupying the timeslot.

      https://github.com/zkoss/zkcalendar/blob/5d402882e03aa4aa6be4db8e6f5bee9d9a31ca72/calendar/src/archive/web/js/calendar/CalendarsDefault.js#L1444

      Workaround

       

            MDuchemin MDuchemin
            MDuchemin MDuchemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: