Skip to content

Safari aborts previous startViewTransition call #62491

Closed

Description

@arturovt

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 });

Activity

  1. added this to the needsTriage milestone on Jul 7, 2025
  2. angular-automatic-lock-bot commented on Aug 14, 2025

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  3. locked and limited conversation to collaborators on Aug 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions