Skip to content

aspectRatio and minSize not working correctly #44

@CapnMarius

Description

@CapnMarius

The combination of aspectRatio and minSize is buggy when the ratio is vertical.

cropper with
aspectRatio: 1.3333333333333333
minSize: [ 300, 400, "px" ]
startSize: [ 1200, 675, "px" ]

The minimum crop result should be 300 * 400
But the cropper "snaps" from 400 * 533 to 300 * 533

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