From 7aed74611fc38c4db265e5b68bd8ee5f41c06822 Mon Sep 17 00:00:00 2001 From: Hrishikesh Vaipurkar Date: Wed, 2 Jul 2025 07:21:25 +0000 Subject: [PATCH] Merged in feat/SW-2817-image-gallery-animation (pull request #2479) feat: SW-2817 Update gallery animation * feat: SW-2817 Update gallery animation Approved-by: Erik Tiekstra --- apps/scandic-web/components/Lightbox/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/scandic-web/components/Lightbox/index.tsx b/apps/scandic-web/components/Lightbox/index.tsx index 9ac2c001f..2bf34dbae 100644 --- a/apps/scandic-web/components/Lightbox/index.tsx +++ b/apps/scandic-web/components/Lightbox/index.tsx @@ -67,8 +67,8 @@ export default function Lightbox({ className={`${styles.content} ${ isFullView ? styles.fullViewContent : styles.galleryContent }`} - initial={{ opacity: 0, scale: 0.95 }} - animate={{ opacity: 1, scale: 1, x: "-50%", y: "-50%" }} + initial={{ opacity: 0, scale: 0.95, x: "-50%", y: "-50%" }} + animate={{ opacity: 1, scale: 1 }} exit={{ opacity: 0, scale: 0.95 }} transition={{ duration: 0.2 }} >