diff --git a/CHANGELOG.md b/CHANGELOG.md index d140ca4e..e41cf519 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] +### Fixed + +- The logic of the `loading` attribute depends only on the `fetchpriority` value and no longer on the image resizing + ## [2.90.0] - 2024-08-01 ### Added diff --git a/react/ProductSummaryImage.tsx b/react/ProductSummaryImage.tsx index b456bcc4..802dd27c 100644 --- a/react/ProductSummaryImage.tsx +++ b/react/ProductSummaryImage.tsx @@ -244,19 +244,15 @@ function Image({ * device-based guess was wrong. Has to be looked into */ const dpi = isMobile ? 2 : 1 - const shouldResize = !!(width || height) - return ( {alt} )