-
Notifications
You must be signed in to change notification settings - Fork 27.1k
Safari aborts previous startViewTransition call #62491
Copy link
Copy link
Closed
Labels
Milestone
Description
Which @angular/* package(s) are the source of the bug?
router
Is this a regression?
No
Description
We're facing errors reported to Rollbar: AbortError Old view transition aborted by new view transition..
This is because calling document.startViewTransition() twice synchronously:
- Chrome: continues applying the first call's transition
- Safari: aborts the first call's transition and throws
// WebKit
if (RefPtr activeViewTransition = document.activeViewTransition())
activeViewTransition->skipViewTransition(Exception { ExceptionCode::AbortError, "Old view transition aborted by new view transition."_s });Reactions are currently unavailable