Skip to content

Carousel.Zoomable.Panzoom.minScale:"cover" zoomed out image weirdness when resizing window / toggling thumbnails #752

@twilson90

Description

@twilson90

In the example you posted:
https://jsbin.com/zogubiveye/edit?html,output
The behaviour just seems really odd and janky, after resizing the window vertically or toggling the thumbnails, you have to zoom in and zoom out to get it to position optimally.
Also, a more desirable option would be something akin to object-fit: contain.
I want the image to expand to fit inside the container's edges but not outside.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions