Add objectFit: "auto-cover" #378
Labels
enhancement
New feature or request
PR-welcome
help is welcomed for this issue
released
This issue/pull request has been released.
Some people already started discussing this at #186
The idea would be to create a new objectFit value which would automatically find the best fit based on the images width/height.
This can be done in user land like so:
but it would be nice if the package itself contined it as it is a fairly common use case.
The text was updated successfully, but these errors were encountered: