diff --git a/src/hooks/useAnimateTheme.ts b/src/hooks/useAnimateTheme.ts index aa0e2ab..1069568 100644 --- a/src/hooks/useAnimateTheme.ts +++ b/src/hooks/useAnimateTheme.ts @@ -109,6 +109,7 @@ export function useAnimateTheme(options: UseAnimateThemeOptions = {}) { { duration, easing, + fill: 'both', pseudoElement: `::view-transition-${isDark ? 'new' : 'old'}(root)`, }, )