Not only will I talk about Cross-Document View Transitions for MPAs, I’ll also be covering a few improvements that allow you to more easily work with View Transitions in general.
To be clear, that’s no commitment from Apple/WebKit that they will start working on it. A supportive position merely expresses that they – and I quote – “see this specification as conceptually good, and worth prototyping, getting feedback on its value, and iterating.”
@stefan I implemented #ViewTransitions in my Mastodon client https://schizo.social (opening image thumbnails) but for some reason my transitions aren't as smooth. Things get weird when you have dynamically sized (width: 100%) elements. #css#webDev
I'm working on https://schizo.social again. There's still tons of basic client stuff I could work on, like logout, or rendering boosts, but my goal is to build a client for managing multiple #Fediverse accounts; things like syncing following/mutes/etc. Not really trying to build a client you'd use to read. I want to implement #Calckey login, but calckey.social is down. Maybe I should start with handling multiple #Mastodon accounts first? #schizoSocial
I want the thumbnails to open the full version in a modal, with next/prev arrows to navigate between multiple images attachments.
I'll probably use a <dialog> but I kinda wonder if there's a way for me to shoe horn a #viewTransition into this cause I want to play with the #ViewTransitions#API.
Maybe clicking the date can open an individual post, and I can use a #ViewTransitionAPI to navigate to that...
🖋 “HTML and CSS based View Transitions are coming”
While same-document View Transitions have now been available for a while in Chromium browsers for Single Page Applications (SPA), they were requiring the use of a JavaScript API. Chrome Canary now allows us to develop and test View Transitions with HTML and CSS only, obviously targeting Multiple Pages Applications (aka Web sites 🤷♂️).