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
feat: ViewTransition Astro component #694
base: main
Are you sure you want to change the base?
Conversation
|
✅ Deploy Preview for astro-starlight ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
|
It looks like this currently breaks the pagefind/search functionality and also needs an astro version update. (checked on a forked version) |
Thanks for testing that @turbek! Yes, View Transitions require all client-side scripts to include special handling, so it may be more involved than the changes currently in this PR. We might be able to solve this with |
|
Although I'm not sure how ideal it is |
|
Thanks for testing — I’d also assume other client-side scripts are impacted? Like table of contents highlighting and language/theme switching? |
|
Actually we removed the language switching because we currently support 1 language and since our website doesn't support dark theme atm, we removed theme switching as well. So we never tested theme/language switching features with the SPA mode. ToC highlighting seems to work as expected though. |

What kind of changes does this PR include?
Allow user to set a new user configuration:
viewTransitions(boolean)This config sets Astro ViewTransitions component on Page layout if true
Description