Skip to content

Add helper to use view transition - #719

Open
Intrepidd wants to merge 1 commit into
hotwired:mainfrom
Intrepidd:view-transition-helper
Open

Add helper to use view transition#719
Intrepidd wants to merge 1 commit into
hotwired:mainfrom
Intrepidd:view-transition-helper

Conversation

@Intrepidd

@Intrepidd Intrepidd commented Mar 5, 2025

Copy link
Copy Markdown
Contributor

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