📝 New post: Handling aspect ratio changes in view transitions.

Lots of tips on customising view transitions, and of course, live demos.

https://jakearchibald.com/2024/view-transitions-handling-aspect-ratio-changes/

View transitions: Handling aspect ratio changes

Tips and tricks to get the transition you want

@jaffathecake That's going in my library of reference materials!

Can’t help but ask about those rounded corners though. I was expecting a trick to keep their shape stable.

@anthony you can definitely work around it by adding the background colour and rounded corners to the view-transition-group, but it seems barely noticeable at normal speed.
@jaffathecake I've run into so many similar issues, this is ultra helpful. Thanks for sharing and writing these!