Skip to content

Conversation

EugeneChoi4
Copy link

@EugeneChoi4 EugeneChoi4 commented Sep 19, 2025

The first example shown in the <ViewTransition> docs actually did not work, since the <ViewTransition> element was not wrapping a DOM node. Updated the Pitfall section for more clarity as well.

Part 2: Updated the example in the "#Animating a shared element" section. Previously there would be a weird jump (in the bottom section of the rectangle) when making the video go fullscreen, see below:

Before:

Screen.Recording.2025-09-19.at.4.52.25.PM.mov

After:

Screen.Recording.2025-09-19.at.4.51.26.PM.mov

@gaearon
Copy link
Member

gaearon commented Sep 19, 2025

cc @rickhanlonii

Copy link

github-actions bot commented Sep 19, 2025

Size changes

📦 Next.js Bundle Analysis for react-dev

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@EugeneChoi4
Copy link
Author

I think I'm missing a Vercel permission here, would I be able to get this?

@EugeneChoi4 EugeneChoi4 changed the title Fix ViewTransition example Fix ViewTransition examples Sep 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants