Skip to content

Prevent CropRect Translation in Image Cropper #620

@mans17312

Description

@mans17312

Description:
Currently, the image cropper allows the CropRect to translate, which can result in unintended changes to the selected area. However, in some cases, users may require a fixed aspect ratio without allowing the CropRect to translate.

Problem:

  1. The CropRect can translate freely, causing the selected area to change size or position unintentionally.
  2. While setFixedAspectRatio exists, it does not prevent the CropRect from translating.

Desired Solution:

  1. Disable the translation of the CropRect while maintaining a fixed aspect ratio.
  2. Even if the user attempts to translate the CropRect, it should remain fixed in size and aspect ratio.
  3. Provide a way to enable/disable this feature programmatically or through configuration options.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions