Hey @bluebill1049, first of all thanks for this cool library.
I found some issues regarding the <noscript> part and hope could be useful for every use case.
The point is that checking the cases where <noscript> should be available as fallback, since is rendered after the regular <img />, both as relative positioned elements, the fallback one remains outside the wrapper which has overflow: hidden styles. Swapping the order, in that case, the regular img (not needed) remains overflown.
The other point is to pass also imgStyles to the fallbackimg to have the same look and feel as the regular one.
Hey @bluebill1049, first of all thanks for this cool library.
I found some issues regarding the
<noscript>
part and hope could be useful for every use case.The point is that checking the cases where
<noscript>
should be available as fallback, since is rendered after the regular<img />
, both asrelative
positioned elements, the fallback one remains outside the wrapper which hasoverflow: hidden
styles. Swapping the order, in that case, the regularimg
(not needed) remains overflown.The other point is to pass also
imgStyles
to the fallbackimg
to have the same look and feel as the regular one.Let me know in any case,