Skip to content

Image not cropped when initial size is not changed #19

@sveinnetnordic

Description

@sveinnetnordic

Describe the bug

The image must always be cropped so that it becomes rectangular. It will not be done if I do not change the original dimensions.

Original dimension: 1280, 720. If I click "Crop image", I get 1280, 720. If if touch a handle, it returns 538, 538

Image

Image

Image

bildetest.zip

Expected behavior

Should always return a cropped image

Minimal reproducible example

No response

Add-on Version

1.1.1

Vaadin Version

24.7.0.rc1

Additional information

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions