I am currently using fullcalendar 4 with angular and I am trying to implement a custom view based on this example:
https://fullcalendar.io/docs/v4/vertical-resource-custom-demo
The view I require spans across 5 days (Monday to Friday) for just one resource. Although I have edited the demo to meet my needs, the calendar is not consistently displaying all 5 days each time. For instance, this week it only shows from today until Friday, then jumps back to Tuesday of the previous week.
I have created a codepen showcasing my issue and the customized view:
resourceTimeGridFiveDay: {
type: "resourceTimeGrid",
duration: { days: 5 },
buttonText: "5 days"
}
https://codepen.io/Archelite/pen/QWKQyZR
Could someone advise me on how to ensure that the calendar always displays the 5-day span (Monday to Friday) as intended?