Closed northamerican closed 5 years ago
Additionally, if support for img tags were implemented, it would be neat if it also took into account the internal size of an image with object-fit: cover
set.
@northamerican It is inherent to the way resize-sensor works as you pointed it out. So this will be a permante restriction this direcyive does not apply in such cases
The directive fails with
<img>
elements and other singletons. Thev-resize
callback is not triggered. Probably because theresize-sensor
is placed inside the target element and singletons cannot have elements inside them.