Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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