6

My application is built on Angular 5 and facing an issue while typing letters in any text box in IE11, in chrome it works fine. It takes at least 2 seconds to type a single letter in the text box. Memory usage is 400mb in the welcome page and it increases if we go to any other component by 100mb.

So in short I need to improve the typing speed in any textbox. Could you suggest a way to fix this issue.

user3843805
  • 151
  • 1
  • 8
  • We are experiencing similar behaviour. Is it Always or after doing something in the UI ? Our seem to be connected to opening and closing material modal dialogs. Are you using the material library ? – Viktor Eriksson Mar 19 '18 at 11:40
  • We are using material but not extensively – user3843805 Mar 19 '18 at 11:47
  • @ViktorEriksson does the answer provided below solved your problem too? I am still fighting with the opening and closing material modal dialogs. IE 11 sucks. OR if you have solved it with other way around please suggest. – sunny Jun 04 '18 at 11:14

1 Answers1

9

This issue is solved now, you need to use enableprodmode() in the main.ts file to make the angular app light weighted and also it limits the dual change detection cycle to one.. further you can use ng build --prod to optimize the build package

user3843805
  • 151
  • 1
  • 8