When view transitions clash
I sometimes check if other 'view transitions' are running before starting a 'view transition'. I check the property: 'document.activeViewTransition' Otherwise this error appears in Chrome console: 'Uncaught (in promise) AbortError: Transition was skipped' I often use a 'promise' to clear up after the 'view transition': transition = document.startViewTransition(...); transition.finished.then(finishVT); However, sometimes I want the second 'view transition' to actually run so I have to make the first 'view transition' not run at all. In the end, I added a check for active 'view transitions' to all of my 'view transitions'. I don't like seeing an error in the browser's console. Also if 'view transition' clash then the promise may not run and the CSS classes triggering the 'view transitions' may not be removed from the HTML elements.