You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug happens when trying to set selected item on Scheduler if Task ist not visible in week View.
I am using dayView with all hours visible in workingTime, and Weekview with visible hours from 6 to 20 Oclock.
const selectedEvent = this.scheduler.scheduler.eventStore ?
this.scheduler.scheduler.eventStore.find((i) => i.taskId === event.taskId) : undefined;
if (selectedEvent) {
this.scheduler.scheduler.scrollEventIntoView(selectedEvent as any, { highlight: true, focus: true })}
else {
console.log('selected event not found on Scheduler or not in visible area!');
}
Cannot read properties of null (reading 'x')
TypeError: Cannot read properties of null (reading 'x')
at http://localhost:4201/main.js:
at new ZoneAwarePromise
at Scheduler.scrollUnrenderedEventIntoView
at Scheduler.scrollResourceEventIntoView
at Scheduler.scrollEventIntoView
Is it possible to check if Event in EventStore is visible in Scheduler?
Thanks
The text was updated successfully, but these errors were encountered:
Forum post
Bug happens when trying to set selected item on Scheduler if Task ist not visible in week View.
I am using dayView with all hours visible in workingTime, and Weekview with visible hours from 6 to 20 Oclock.
Is it possible to check if Event in EventStore is visible in Scheduler?
Thanks
The text was updated successfully, but these errors were encountered: