You open your app in Safari 18.0 or Firefox 145: the View Transition API is supported, yet React's <ViewTransition> snaps between screens with no animation. It comes down to the spec level. React DOM 19.3.1 calls the options-object overload of document.startViewTransition(), which requires Chrome and Edge 125+, Firefox 147+, or Safari 18.2+:
// View Transitions Level 2
document.startViewTransition({
update: () => {
// DOM update
},
types: ['slide-forward'],
});
The single-callback form shipped earlier (Chrome 111, Safari 18.0, Firefox 144), yet React skips it because without types the wrong animation can fire. React wraps the call in try / catch: if the engine rejects the options object, it catches the error, updates the DOM immediately, and skips the animation.
To style element groups with one rule, use view-transition-class and ::view-transition-new():
/* For elements with view-transition-class: fade */
::view-transition-new(.fade) {
animation: fade-in 200ms ease-out;
}
view-transition-class works in Chrome and Edge 125+, Firefox 144+, and Safari 18.2+—meaning any browser supporting React's object call also supports class-based transition selectors.
