I refer to this demo demo
I added the height attribute auto to my config, but it didn’t work.
My fullcalendar version is 6, use vue2 frame
this my config
{
// ...
select: this.handleDateSelect,
eventClick: this.handleEventClick,
locale: 'zh-cn',
aspectRatio: 1.5,
resourceAreaWidth: 120,
slotMinWidth: 200,
eventShortHeight: 50,
selectable: true,
height: 'auto',
resourceOrder: 'dispalyorder',
initialView: 'resourceTimelineMonth',
views: {
resourceTimelineMonth:{
slotLabelFormat: [
{ weekday: 'short', },
{ day: 'numeric' }
],
},
},
editable: true,
resourceAreaColumns: [
{
field: 'customerName',
headerContent: '客户姓名'
}
],
resources: [],
events: [],
}
This is the view before I scroll:
This is my scrolling view: