Optimizes animation speed and event flow

Reduces the duration of a UI height animation for a snappier feel.
Disables a specific `header:ready` event emission during navigation rendering.
This commit is contained in:
Janus C. H. Knudsen 2025-09-23 09:46:47 +02:00
parent 6498b0ba8e
commit ffa0bcafc3
3 changed files with 38 additions and 2 deletions

View file

@ -242,7 +242,7 @@ export class AllDayManager {
{ height: `${currentSpacerHeight}px` },
{ height: `${targetSpacerHeight}px` }
], {
duration: 300,
duration: 150,
easing: 'ease-out',
fill: 'forwards'
})