Skip to content

ImageEditor throws JavaScript error on reselecting Original Ratio for portrait images #6453

@aleksandarevangelatov

Description

@aleksandarevangelatov

Bug report

The ImageEditor throws a JavaScript error on reselecting Original Ratio for portrait images

Reproduction of the problem

Open the ImageEditor Demo

  1. Load a Portrait image (Width < Height) (sample image: Portrait format image)
  2. Select the Crop tool
  3. Click on Landscape
  4. Select any aspect ratio, for example 16:9
  5. Select "Original ratio" back again

Current behavior

JavaScript error is thrown

Expected/desired behavior

JavaScript error should not be thrown

Environment

  • Kendo UI version: 2021.2.511
  • Browser: [all]

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions