-
Notifications
You must be signed in to change notification settings - Fork 168
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
Feature: Added transitions between pages #527
Conversation
Deploying with Cloudflare Pages
|
Yes, I discussed it with @mdtauk on discord and we agreed that it makes the transition look more natural. |
I think this is really cool, thanks for implementing this. Given that we now animate the page header when opening a blog page, would it be worth scrolling the top when opening a specific blog post? I know that the blog page being visible in the middle was present beforehand, however with the animation I feel like this oddity is made even worse. |
@chingucoding removing the Screencast.from.2023-09-03.21-34-48.mp4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
Added some cool new transitions between pages and among other elements, including:
Please comment if you have any ideas for what we can add; I'm so excited about this I'd love to just experiment and see what's possible.
Motivation and Context
SvelteKit recently added support for the
onNavigate
lifecycle function, which unlocked the usage of the View Transition API.This API makes visually appealing, app-like transitions easily possible on the web, and I saw the opportunity and jumped on it.
Fixes #532
Screenshots (if appropriate):
Screencast.from.2023-08-29.23-13-16.mp4
Screencast_from_2023-08-29_22-38-31.mp4