diff --git a/src/content/docs/basics/pseudos.mdx b/src/content/docs/basics/pseudos.mdx index c2c91c5..a7bf170 100644 --- a/src/content/docs/basics/pseudos.mdx +++ b/src/content/docs/basics/pseudos.mdx @@ -414,9 +414,10 @@ Start of view transitions will always await the `
` to be loaded. External ```html ``` -If the fragment used in the `href` attribute does not exist on the page, view transitions will wait for the whole page to load before they start. But be aware that the browser might log an error message in this case and it might cancel the view transition anyhow if waiting for the entire page takes too long. +If the fragment in the `href` attribute does not exist on the page, view transitions will wait for the entire page to load before they start. Just note that the browser may log an error in this case, and it might cancel the view transition entirely if the load takes too long. + +Try pointing the `href` to an HTML element that ends just _below the fold_ to avoid disrupting the incremental loading of the rest of your page. -Try to target the `href` to some HTML element that ends just "_below the fold_" to avoid killing incremental load of the rest of you page. I haven't yet been able to wait for an image to load, but the View Transition API points toward a different approach. [Example 5](https://drafts.csswg.org/css-view-transitions-2/#cross-doc-examples) suggests checking if an image has fully loaded, and if not, modifying the view transitions to handle the situation rather than waiting for the image to load.