High CPU Consumption when clearing Editor content

3 posts, 0 answers
  1. Diego
    Diego avatar
    4 posts
    Member since:
    Mar 2018

    Posted 27 Mar Link to this post

    Hi,

    I am facing the following issue when I clear the value of the kendoEditor control. This happens only in Firefox (version 59.0.2) even using jquery or clearing the content manually through the UI. This is the code...

    var editor = $("#editor").data("kendoEditor");

    editor.value("");

    When I clear the content the CPU consumption raises up to 50% and the browser ends up crashing. 

    Please your support for this issue. 

  2. Diego
    Diego avatar
    4 posts
    Member since:
    Mar 2018

    Posted 27 Mar Link to this post

    Just for notice, when I set an empty string to the content I saw that the change handler of the Editor fires indefinitely. This is what causes the high cpu consumption. Please any hints on how to fix this??????

    As I stated before, this only happens on Firefox.

  3. Ianko
    Admin
    Ianko avatar
    1764 posts

    Posted 29 Mar Link to this post

    Hi Diego,

    I tried to reproduce the described behavior, but to no avail. You can check out this dojo example: https://dojo.telerik.com/ANICoruM. On my end, under Firefox, the change event is fired only once and only when the editable area is blurred. 
     
    Regards,
    Ianko
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top