Skip to content

[css-view-transitions-1] Setup view transition flushes update callback queue thrice? #11987

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

Open
Psychpsyo opened this issue Mar 22, 2025 · 1 comment
Labels
css-view-transitions-1 View Transitions; Bugs only

Comments

@Psychpsyo
Copy link
Contributor

Setup view transition, at the very end, says to

  1. schedule the update callback for transition.
  2. Flush the update callback queue.

Missing capitalization on "schedule" aside, scheduling the update callback will already flush the update callback queue in another task.
Is this intended?

@fantasai fantasai added the css-view-transitions-1 View Transitions; Bugs only label Mar 27, 2025
@bramus
Copy link
Contributor

bramus commented May 9, 2025

This was changed in #11693 to fix #11292 which might shed some light on this.

A note in the spec to clarify why this extra “Flush the update callback queue” was added could be useful.

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

No branches or pull requests

3 participants