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] Difficult to activate view transitions as a response to UI events #10923

Open
noamr opened this issue Sep 19, 2024 · 0 comments
Labels
css-view-transitions-2 View Transitions; New feature requests

Comments

@noamr
Copy link
Collaborator

noamr commented Sep 19, 2024

Some UI events, such as checkbox/select change events and popover beforetoggle events have a synchronous effect on rendering. For example, a popover is closed immediately after beforetoggle, and before the rendering update occurs, which makes it tricky/impossible to fit in a startViewTransition between them.

This is also related to #9400, where the framework internal workings are not built to wait until a frame is ready before changing a state.

This can perhaps be some CSS property thing that defers the reaction to a UI event by one frame?

@noamr noamr added the css-view-transitions-2 View Transitions; New feature requests label Sep 19, 2024
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

1 participant