Skip to content

Support a 'minZoom' property #376

@conceptualspace

Description

@conceptualspace

Is your feature request related to a problem? Please describe.

currently it seems the lowest zoom for the image is 1x (if small enough) or "fit to screen". it would be nice to be able to scale the image lower. in my use case (photography app) its useful to virtually "step back" and see the image with a border or get a better visual sense of how the image would look on a smaller device. yarl supports an arbitrary maxzoom propety, but there is currently no analagous prop for zooming out

Describe the solution you'd like

maybe a "minZoom" prop and allow zoomout to scale down below 1x

Describe alternatives you've considered

i can literally resize the window itself to scale down the image since it is locked to fit, but obviously this is not a genuine solution

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestreleasedImplemented and released

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions