Double download when rotating device

Created on 23 February 2017, over 7 years ago
Updated 19 September 2023, about 1 year ago

Hello,

When a breakpoint is in between the portrait size and the landscape size of a device, and then rotating the device, an image is downloaded multiple times (more or less each time the device is rotated).

Example:
breakpoints[bk-medium-port] = all and (min-width: 450px) --> large image
breakpoints[bk-small-port] = all and (min-width: 50px) --> small image

For a device with a 360 by 640 CSS pixels resolution, when starting in portrait (320) mode, the small image gets downloaded, when then rotating to landscape (640), the large image gets downloaded, rotating again to portrait, the small image is downloaded again. This is not happening in a systematic way, but rotate a few times and it will happen. (note: I am not using Lazyload).

I am not completely sure this a bug or by design? But is kind of an issue in both cases.

Best,
Pascal

🐛 Bug report
Status

Closed: outdated

Version

2.13

Component

Code

Created by

🇲🇾Malaysia psiegel

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇬🇧United Kingdom lesleyfernandes

    I am closing all very old tickets that have not received comments for a long time. If someone still faces these issues or thinks they are still relevant, please reopen it. Feel free to contribute with more info or a patch.

Production build 0.71.5 2024