Unexpected Changes to Image Tag Sizes Attribute When Exporting

When exporting site code, I’m seeing a change in the “sizes” element of some image tags and I didn’t do anything to cause the change.

For example, in a 6/30 export I saw:

sizes=“(max-width: 479px) 82vw, (max-width: 767px) 65vw, (max-width: 991px) 323px, 429px”

…but in an export done today on 7/7 I saw:

sizes=“(max-width: 479px) 82vw, (max-width: 767px) 65vw, 100vw”

(Notice how a lot of stuff just got replaced with 100vw). Is this expected? Why only on some images?

Today I noticed that this change appear to happen whenever I toggle preview, click though the various device widths, and then do another export (again, not actually changing anything on the page). It seems that preview is somehow causing this behavior.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.