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

Temporary flash of new content #13

Open
domchristie opened this issue Aug 11, 2023 · 1 comment
Open

Temporary flash of new content #13

domchristie opened this issue Aug 11, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@domchristie
Copy link
Owner

When using non-view-transition animations alone, there's a temporary flash of the new content before enter. Current solution is to use v2.1.0 (where view transitions are disabled by default)

@domchristie domchristie added the bug Something isn't working label Aug 11, 2023
@domchristie
Copy link
Owner Author

Current solution is to use v2.1.0 (where view transitions are disabled by default)

Or ensure that the target elements aren't visible during the view transition:

.turn-view-transitions.turn-transition [data-turn-enter],
.turn-view-transitions.turn-before-transition [data-turn-enter] {
  opacity: 0;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant