@@ -233,30 +233,6 @@ FullCalendar.TimeGrid = (function (exports, core, internal$1, preact, internal$2
233233 ] ,
234234 } ) ;
235235 }
236- if ( allDayContent ) {
237- sections . push ( {
238- type : 'body' ,
239- key : 'all-day' ,
240- syncRowHeights : true ,
241- chunks : [
242- {
243- key : 'axis' ,
244- rowContent : ( contentArg ) => ( preact . createElement ( "tr" , { role : "presentation" } , this . renderTableRowAxis ( contentArg . rowSyncHeights [ 0 ] ) ) ) ,
245- } ,
246- {
247- key : 'cols' ,
248- content : allDayContent ,
249- } ,
250- ] ,
251- } ) ;
252- sections . push ( {
253- key : 'all-day-divider' ,
254- type : 'body' ,
255- outerContent : ( // TODO: rename to cellContent so don't need to define <tr>?
256- preact . createElement ( "tr" , { role : "presentation" , className : "fc-scrollgrid-section" } ,
257- preact . createElement ( "td" , { colSpan : 2 , className : 'fc-timegrid-divider ' + context . theme . getClass ( 'tableCellShaded' ) } ) ) ) ,
258- } ) ;
259- }
260236 let isNowIndicator = context . options . nowIndicator ;
261237 sections . push ( {
262238 type : 'body' ,
@@ -291,6 +267,31 @@ FullCalendar.TimeGrid = (function (exports, core, internal$1, preact, internal$2
291267 } ,
292268 ] ,
293269 } ) ;
270+ // HACK manually moved to footer
271+ if ( allDayContent ) {
272+ sections . push ( {
273+ key : 'all-day-divider' ,
274+ type : 'body' ,
275+ outerContent : ( // TODO: rename to cellContent so don't need to define <tr>?
276+ preact . createElement ( "tr" , { role : "presentation" , className : "fc-scrollgrid-section" } ,
277+ preact . createElement ( "td" , { colSpan : 2 , className : 'fc-timegrid-divider ' + context . theme . getClass ( 'tableCellShaded' ) } ) ) ) ,
278+ } ) ;
279+ sections . push ( {
280+ type : 'body' ,
281+ key : 'all-day' ,
282+ syncRowHeights : true ,
283+ chunks : [
284+ {
285+ key : 'axis' ,
286+ rowContent : ( contentArg ) => ( preact . createElement ( "tr" , { role : "presentation" } , this . renderTableRowAxis ( contentArg . rowSyncHeights [ 0 ] ) ) ) ,
287+ } ,
288+ {
289+ key : 'cols' ,
290+ content : allDayContent ,
291+ } ,
292+ ] ,
293+ } ) ;
294+ }
294295 if ( stickyFooterScrollbar ) {
295296 sections . push ( {
296297 key : 'footer' ,
0 commit comments