fix: panel animation not playing

This commit is contained in:
Johannes Millan 2025-07-25 20:19:09 +02:00
parent fb28dd1233
commit 1018b445f8

View file

@ -82,9 +82,9 @@ export class BetterDrawerContainerComponent implements OnDestroy {
switchMap((isNavigating) =>
isNavigating ? of(true) : timer(100).pipe(map(() => false)),
),
startWith(true), // Start with animations disabled
startWith(false), // Start with animations enabled
),
{ initialValue: true },
{ initialValue: false },
);
// Computed signal that determines if animations should be skipped