Bug: Scheduler doesnt display slot when at reduced start/end times

0 Answers 62 Views
Scheduler
Paul
Top achievements
Rank 1
Paul asked on 08 Dec 2023, 08:22 AM

If i have a Scheduler control, displaying a single day and grouped on Person, and i reduce the Scheduler View Start/End times to, for example, 7:00am to 11:15am then it will not display a slot that overlaps this time period e.g. a slot occuring 00:00-23:59.

Oddly if i change the Scheduler View Start/End time to 7:00 to 12:00 then it will. So 7:00 to 11:15 or 7:00 to 11:30 will not display the slot, only on the hour will e.g. 7:00 to 12:00 or 7:00 to 13:00.

Filip
Telerik team
commented on 12 Dec 2023, 06:11 PM | edited

Hello, Paul,

I tested the following example in order to reproduce the described behavior with the slot not displaying, however, I was not able to:

https://stackblitz.com/edit/pozdvd?file=src%2Fmain.vue

Can you please send us a runnable example that reproduces this behavior? This way I can inspect it locally and see if its an issue with the component that needs to be fixed or if something in the implementation needs to be adjusted.

Regards,
Filip

Paul
Top achievements
Rank 1
commented on 13 Dec 2023, 08:47 AM

Hi,

Using your example, if you replace the main.vue with my attached file code you should see the issue. In this instance the scheduler time range is 08:00-12:00pm and if the End Time of the 2nd data item is new Date("2024-06-24T16:00:00.000Z") it does not show although it overlaps the start/end overlaps of the scheduler time range. If i change the End Time to new Date("2024-06-24T15:00:00.000Z") it does show. Slightly different to how i seen the issue originally in my own project but that should show you the issue anyhow.

Filip
Telerik team
commented on 15 Dec 2023, 03:09 PM

Hi, Paul,

Thank you for the provided code. I used it in my example and was able to reproduce the described behavior. I have logged this as an issue in our public repo, where it can be tracked and monitored:

https://github.com/telerik/kendo-vue/issues/495

Apologies for any inconvenience that this might have caused you.  As a small token of appreciation for bringing this to our attention, I have granted you some Telerik points. Once the issue has been fixed the GitHub item will be updated accordingly. 

Regards,
Filip

Paul
Top achievements
Rank 1
commented on 15 Dec 2023, 03:22 PM

Thanks for investigating the issue Filip.
Filip
Telerik team
commented on 18 Dec 2023, 02:05 PM

You are welcome, Paul.

Regards,
Filip

No answers yet. Maybe you can help?

Tags
Scheduler
Asked by
Paul
Top achievements
Rank 1
Share this question
or