diff --git a/src/managers/AllDayManager.ts b/src/managers/AllDayManager.ts index 474437a..bb61afe 100644 --- a/src/managers/AllDayManager.ts +++ b/src/managers/AllDayManager.ts @@ -231,7 +231,7 @@ export class AllDayManager { }) ]; - // Add spacer animation if spacer exists + // Add spacer animation if spacer exists, but don't use fill: 'forwards' if (headerSpacer) { const root = document.documentElement; const currentSpacerHeight = parseInt(getComputedStyle(root).getPropertyValue('--header-height')) + currentHeight; @@ -243,8 +243,8 @@ export class AllDayManager { { height: `${targetSpacerHeight}px` } ], { duration: 150, - easing: 'ease-out', - fill: 'forwards' + easing: 'ease-out' + // No fill: 'forwards' - let CSS calc() take over after animation }) ); }