We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8769932 commit 94bef6fCopy full SHA for 94bef6f
packages/query/src/internal.ts
@@ -28,7 +28,10 @@ export function create$(scope: typeof scopeFn) {
28
return [...document.querySelectorAll(selector)];
29
},
30
ready(callback: () => MaybePromise<undefined | (() => void)>) {
31
- if (supportsViewTransitions && transitionEnabledOnThisPage()) {
+ const fallback = document
32
+ .querySelector('meta[name="astro-view-transitions-fallback"]')
33
+ ?.getAttribute("content");
34
+ if (transitionEnabledOnThisPage() && fallback !== "none") {
35
let cleanup: (() => void) | undefined;
36
37
document.addEventListener("astro:page-load", async () => {
0 commit comments