This feature is not Baseline because it does not work in some of the most widely-used browsers.
The skipTransition() method of the ViewTransition interface skips the animation part of the view transition, but doesn't skip running the associated view update.
skipTransition()
None.
undefined.
// start new view transition const transition = document.startViewTransition(() => displayNewImage()); // skip the animation and just update the DOM transition.skipTransition();
// Fired on the current (outgoing) page
document.addEventListener("pageswap", (event) => {
event.viewTransition?.skipTransition();
});
// Fired on the destination (inbound) page
document.addEventListener("pagereveal", (event) => {
event.viewTransition?.skipTransition();
});
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Opera | Safari | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | WebView Android | WebView on iOS | |
skipTransition |
111 | 111 | No | 97 | 18 | 111 | No | 75 | 18 | 22.0 | 111 | 18 |
© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/ViewTransition/skipTransition