In Firefox, responsive images are not getting a the proper padding-bottom applied on the div.media--blazy element, resulting in the image being displayed with the wrong aspect ratio.
This appears to be an issue occuring in JavaScript, specifically in blazy.drupal.js line 257 (var pad). When the image loads for the first time (i.e. it is not locally cached), the values for el.naturalHeight and el.naturalWidth are returning a value of 0. This results in the "pad" variable getting a value of NaN (not a number).
(Occurs in Firefox but not in Chrome)
Maybe add a fallback in JS to use clientWidth/clientHeight if naturalWidth/naturalHeight return 0. Or something else from someone who has more knowledge of JS and blazy.
Active
3.0
JavaScript
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
No activities found.