Closed univers-andrew closed 2 months ago
Dear contributor,
because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.
Dear contributor,
because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.
Dear contributor,
because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.
Dear contributor,
because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.
Bug description
When placeholders are enabled, I am observing a CLS when the placeholder switches with the final images. Seems to happen in every instance where I've set
ratio=".75"
on this site — the issue doesn't present if I've setratio="1"
.https://user-images.githubusercontent.com/122848318/233290483-3caaf15a-d6dc-4b87-9823-a8b6657d1945.mov
https://user-images.githubusercontent.com/122848318/233290468-dbae9a5a-238b-4f72-88f9-6eabc289fc86.mov
It's entirely possible I've missed something, but thought it would be worthwhile to pose the question to see if this could be an issue within responsive-images, or my own error. Seems like an issue with the backend calculations, but I could be wrong.
With thanks, Andrew
How to reproduce
{{ responsive:url alt="{alt}" ratio="0.75" glide:width="1000" }}
Similuate a slow connection and observe CLS when the placeholder swaps out.
Logs
No response
Environment
Installation
Fresh statamic/statamic site via CLI
Antlers Parser
runtime (new)
Additional details
No response