From 1187471f87c71fb1233c58b4789685385d97dcdb Mon Sep 17 00:00:00 2001 From: Oleksii Bulenok Date: Tue, 21 Jul 2026 15:28:25 +0200 Subject: [PATCH] fix image flash after closing the lightbox --- src/components/Lightbox/pager/ImagePager.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Lightbox/pager/ImagePager.tsx b/src/components/Lightbox/pager/ImagePager.tsx index ca1b564e8d..7b7548a0e3 100644 --- a/src/components/Lightbox/pager/ImagePager.tsx +++ b/src/components/Lightbox/pager/ImagePager.tsx @@ -530,7 +530,7 @@ function LightboxImage({ const dismissTranslateY = isActive && openProgressValue === 1 ? dismissSwipeTranslateY.get() : 0 - if (openProgressValue === 0 && isFlyingAway.get()) { + if (openProgressValue === 0) { return { isHidden: true, isResting: false,