Scheduler times have 16px offset when an event starts at 12:00AM

6 posts, 0 answers
  1. Rob
    Rob avatar
    7 posts
    Member since:
    Feb 2015

    Posted 10 Mar Link to this post

    When the scheduler has an event that starts at the cuttoff time for your scheduler-table, the entire table shifts up 16px to accommodate (show) that there is in fact an event there, however  the div with class="k-scheduler-times" is not shifted.

    For example, my scheduler is setup for 00:00 to 24:00.  If I have an event that is starting at 24:00, my table looks perfect until I scroll down to the bottom and the 23:00 - 24:00 time slot becomes visible. Once it is on-screen, the events table all move up by 16px and the grids no longer line up with the scheduler-times. 

    Please provide a fix, that when this is triggered, to also inlcude the "k-Scheduler-times" to be shifted up in sync with the scheduler-table.

    See attached photos.

    Thank you,

    Rob

  2. Ivan Danchev
    Admin
    Ivan Danchev avatar
    829 posts

    Posted 14 Mar Link to this post

    Hello Rob,

    I am afraid we were unable to reproduce the behavior shown in the screenshots. Regardless of having an appointment starting at 23:00 or 24:00 no shifting is exhibited at our end. Here's a screenshot showing how the Scheduler looks like at our end. Please, attach/link a runnable sample project that demonstrates the issue, including any custom CSS you are applying to the Scheduler as it could be responsible for the observed behavior.

    Regards,
    Ivan Danchev
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Rob
    Rob avatar
    7 posts
    Member since:
    Feb 2015

    Posted 14 Mar in reply to Ivan Danchev Link to this post

    I'm not able to see your screen shot.
  5. Rob
    Rob avatar
    7 posts
    Member since:
    Feb 2015

    Posted 14 Mar Link to this post

    I was able to reproduce my error on your demo at http://demos.telerik.com/kendo-ui/scheduler/index

    Go into the demo, create a new event that starts at 11:59 PM and runs until 8 AM the next day.

     

  6. Rob
    Rob avatar
    7 posts
    Member since:
    Feb 2015

    Posted 14 Mar in reply to Rob Link to this post

    The shifting starts at 11:42 PM in your demo - the pixel amount increases as you go from 11:42  up to 11:59PM.
  7. Ivan Danchev
    Admin
    Ivan Danchev avatar
    829 posts

    Posted 15 Mar Link to this post

    Hello Rob,

    Thank you for the additional information provided.

    The rows misalignment, observed when the Appointment start time is in the specified time interval, is a bug. As workaround you could set the following CSS rule:
    .k-event {
      min-height: 0px;
    }

    The existence of an appointment will still be indicated, without having a noticeable row misalignment. 

    Regards,
    Ivan Danchev
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top
UI for ASP.NET MVC is VS 2017 Ready