Kendo-react-scheduler issue: event is not visible if start date outside of working hours range

0 Answers 175 Views
Scheduler
Maxim
Top achievements
Rank 1
Maxim asked on 04 May 2022, 07:44 AM

I found an issue:

if an event is not visible if start date outside of working hours range and end date is outside of working hours:

the code was taken from scheduler demo:

const App = () => {
return (
<Scheduler data={sampleData} defaultDate={displayDate}>
<WeekView />
</Scheduler>
);
};

 

const baseData = [
{
TaskID: 119,
OwnerID: 3,
Title: 'Helpdesk weekly meeting',
Description: '',
StartTimezone: null,
Start: '2013-06-05T15:00:00.000Z',
End: '2013-06-06T14:00:00.000Z',
EndTimezone: null,
RecurrenceRule: 'FREQ=WEEKLY;BYDAY=WE',
RecurrenceID: null,
RecurrenceException: null,
isAllDay: false,
},
];
export const customModelFields = {
id: 'TaskID',
title: 'Title',
description: 'Description',
start: 'Start',
end: 'End',
recurrenceRule: 'RecurrenceRule',
recurrenceId: 'RecurrenceID',
recurrenceExceptions: 'RecurrenceException',
};

 

https://react-yxcnuz.stackblitz.io/

As you can see the start of event is outside of working hours and end date is outside of working hours for next date.

In case I see only working hours I do not see event at all

In case I enabled all day hours I do see event


Konstantin Dikov
Telerik team
commented on 06 May 2022, 07:17 AM

Hello Maxim,

The behavior that you are describing is made that way by design, because this is not an all-day event and it starts outside of the business hours and although that it continues within them, it will not be shown in the business hours view.

If you think that providing an option that will display events starting outside of the business hours would be beneficial, you can create a feature request in our public portal:

Maxim
Top achievements
Rank 1
commented on 06 May 2022, 07:24 AM

Hello Konstantin,

Regarding full day event: even if I create an event starting on Monday at 01:00 till Friday 23:00 I will not see the event at all

I would say it might be a bug and not a feature

 

Konstantin Dikov
Telerik team
commented on 09 May 2022, 10:04 AM

Hi Maxim,

I have noticed that you have opened a feature request, so I suggest we continue the conversation there.

 

No answers yet. Maybe you can help?

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