You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The mediaSettings section in the readme contains the property with the name fit.
In the source code the imageFit property is used:
When trying to use the contain value in fit does not apply to img element. It still contains cover.
If you try to change the property name to imageFit, then everything works as expected:
Expected behavior
Either the documentation must contain the correct name of the property, or there must be a fix in the code.
The text was updated successfully, but these errors were encountered:
Describe the bug
The mediaSettings section in the readme contains the property with the name
fit
.In the source code the imageFit property is used:
When trying to use the
contain
value infit
does not apply to img element. It still containscover
.If you try to change the property name to imageFit, then everything works as expected:
Expected behavior
Either the documentation must contain the correct name of the property, or there must be a fix in the code.
The text was updated successfully, but these errors were encountered: