We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87ce738 commit 716ce9bCopy full SHA for 716ce9b
1 file changed
frontend/src/hooks/data/useRetroReducer.ts
@@ -51,7 +51,7 @@ export function useRetroReducer(
51
const animation = events.some(([evt]) => evt === 'archive')
52
? 'archive'
53
: null;
54
- if (animation) {
+ if (animation && document.startViewTransition) {
55
const viewTransition = document.startViewTransition({
56
update: () => flushSync(() => setRetroState(setter)),
57
types: [animation],
0 commit comments