enterprise-ng icon indicating copy to clipboard operation
enterprise-ng copied to clipboard

Rich Text: rendering the rich text field takes a lot of time on chrome than firefox

Open JBismonte opened this issue 2 years ago • 0 comments

Describe the bug When loading multiple rich text fields, the editor significantly takes a lot of time to load on chrome than on firefox. when loading the rich text on firefox, it takes about 50-150ms. while on chrome its about to 150 - 300 ms, see attached recording.

To Reproduce Steps to reproduce the behavior:

  1. set the enableTimeLogging on the debug.js on enterprise to true
  2. put the following file inside the src\app\editor folder. editor.demo.html.zip
  3. go to http://localhost:4200/ids-enterprise-ng-demo/editor
  4. try to make the multiple rich text fields visible with the button. (test it on both chrome and firefox)_

Expected behavior Try to make the loading performance on rich text better in chrome.

Version

  • ids-enterprise-ng: 14.3.0-dev

Screenshots Performance on firefox

https://user-images.githubusercontent.com/29673378/188197785-40031608-9241-4059-bb73-043ac3be4719.mp4

Performance on chrome

https://user-images.githubusercontent.com/29673378/188197765-15226264-d78e-40d2-a26f-324f4c3075f3.mp4

Platform

  • Device (if applicable) :NA
  • OS Version: Windows 11
  • Browser Name : Chrome (Version 104.0.5112.102 (Official Build) (64-bit)) and firefox (104.0 (64-bit))

Additional context Add any other context about the problem here. https://jira.infor.com/browse/LMWEB-144

JBismonte avatar Sep 02 '22 16:09 JBismonte