Skip to content

Add helper to use view transition #719

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
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Intrepidd
Copy link
Contributor

@Intrepidd Intrepidd commented Mar 5, 2025

I realized there was no helper to set the <meta name="view-transition" content="same-origin"> tag.

This PR adds a turbo_use_view_transition and turbo_use_view_transition_tag methods. Any better naming suggestions ?

Note : the meta seems to not be part of the MPA view transition spec anymore, but this is a more global turbo discussion to have

@Intrepidd Intrepidd force-pushed the view-transition-helper branch from 7d28b93 to 2851826 Compare March 5, 2025 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant