From fcc0a389bee0c20eeefd09118946df56ec363d84 Mon Sep 17 00:00:00 2001 From: giovanni_sette_beko Date: Thu, 22 Jan 2026 12:29:26 +0100 Subject: [PATCH 1/2] fix: make eager prop work again for Image and skip lazy load if prop isEager --- react/components/LazyImages.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/react/components/LazyImages.tsx b/react/components/LazyImages.tsx index 10f40fef9..134668590 100644 --- a/react/components/LazyImages.tsx +++ b/react/components/LazyImages.tsx @@ -51,7 +51,9 @@ const MaybeLazyImage: FC = ({ }) => { const { lazyLoad, method } = useLazyImagesContext() - if (lazyLoad) { + const isEager = imageProps.loading === 'eager' + + if (lazyLoad && !isEager) { let newImageProps = imageProps switch (method) { From e1d4e22e729e1d45e71faab3c06ca08c6eef87bc Mon Sep 17 00:00:00 2001 From: Giov7 Date: Mon, 2 Feb 2026 22:43:37 +0100 Subject: [PATCH 2/2] changelog update --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 61dc7dd5e..4ff29ca97 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +### Added + +- Make eager prop work again for Image and skip lazy load if prop isEager + ## [8.136.1] - 2025-03-28 ### Fixed