Unplanned
Last Updated: 13 Dec 2021 16:20 by Lauren
Lauren
Created on: 13 Dec 2021 16:20
Category: ImageEditor
Type: Bug Report
1
ImageEditor throws a javascript exception on resizing and setting image width or height to 0

Bug report

Reproduction of the problem

Reproducible in the demos: https://demos.telerik.com/kendo-ui/imageeditor/index

  1. Open the browser's devtools console
  2. Click the "Resize" tool in the ImageEditor's toolbar.
  3. Change the image Width or Height value to 0 and blur the input.

Current behavior

A js exception is thrown after blurring the input:
Uncaught RangeError: Maximum call stack size exceeded

Subsequently, on attempting to enter a valid width/height value, the same exception is thrown and resizing the image becomes impossible.

Expected/desired behavior

No js exceptions are thrown.

Environment

  • Kendo UI version: 2021.3.1207
  • jQuery version: x.y
  • Browser: [all]
0 comments