Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Prevent Latest card avatars from replaying their fade in transitions

Anand Baburajanfedd23410a83
diff --git a/web/apps/space/src/components/viewer-transition.ts b/web/apps/space/src/components/viewer-transition.ts
index dcf0f453ca..710bdb772b 100644
--- a/web/apps/space/src/components/viewer-transition.ts
+++ b/web/apps/space/src/components/viewer-transition.ts
@@ -167,6 +167,9 @@ const createRider = (flyer: HTMLElement, tile: HTMLElement) => {
rider.setAttribute("aria-hidden", "true");
rider.inert = true;
rider.append(shade.cloneNode(true), header.cloneNode(true));
+ for (const element of rider.querySelectorAll("*"))
+ if (element instanceof HTMLElement)
+ element.style.animation = "none";
Object.assign(rider.style, {
borderRadius: getComputedStyle(tile).borderRadius,
height: `${bounds.h}px`,