Navigation fails when using View Transitions and navigating to pages containing a client:only
component
#8988
Labels
- P3: minor bug
An edge case that only affects very specific usage (priority)
feat: dev
Related to `astro dev` CLI command (scope)
feat: view transitions
Related to the View Transitions feature (scope)
Astro Info
If this issue only occurs in one browser, which browser is a problem?
Safari
Describe the Bug
When using View Transitions and attempting to navigate to a page which contains a
client:only
component, Astro will occasionally fail to navigate to that page, or delay navigation for several seconds without feedback to the user.Conditions:
client:only
(I have only tested this using React components, unsure if it applies to other frameworks).Observed behavior:
astro preview
or running in production. However, I have also encountered navigation failure on a production site in Safari.client-load-fail.mov
What's the expected result?
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-xvhpqg-pz2nzc?file=src%2Flayouts%2FLayout.astro
Participation
The text was updated successfully, but these errors were encountered: