Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[css-view-transitions-2] What happens if an SPA view transition starts while an MPA transition is in progress? #8678

Closed
jakearchibald opened this issue Apr 4, 2023 · 2 comments
Labels
css-view-transitions-2 View Transitions; New feature requests

Comments

@jakearchibald
Copy link
Contributor

A couple of options:

  1. MPA transition skips to the end, allowing the SPA transition to start.
  2. SPA transition skips to the end, allowing the MPA transition to continue (assuming the elements it needs are still there).

If an SPA transition starts while another SPA transition is in progress, the first transition skips to the end, allowing the second to start.


My opinion is option 1, given the consistency. I think we should avoid making MPA transitions different to SPA transitions, as much as possible. This thinking also seems in line with #8677

@jakearchibald jakearchibald added the css-view-transitions-2 View Transitions; New feature requests label Apr 4, 2023
@vmpstr
Copy link
Member

vmpstr commented Jun 7, 2023

Ideally both transitions would run, since it seems like MPA is a liminal transition from some other page and the SPA one is doing things within the page.

I see the desire to go with option 1 for consistency of MPA and SPA transitions from the developer perspective. However, from the user perspective, I would want option 2. My rationale here is that the navigation was already initiated and I'd rather have a consistent experience in transitioning page rather than elements moving on the page -- which is what presumably the incoming page is trying to do.

@noamr
Copy link
Collaborator

noamr commented Oct 26, 2023

Closing in favor of #9512

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
css-view-transitions-2 View Transitions; New feature requests
Projects
None yet
Development

No branches or pull requests

3 participants