valor-software / ngx-bootstrap

Fast and reliable Bootstrap widgets in Angular (supports Ivy engine)
https://valor-software.com/ngx-bootstrap
MIT License
5.52k stars 1.69k forks source link

Accordion with animation enabled triggers infinite ChangeDetection Cycles on IE11 #5660

Open mfrey43 opened 4 years ago

mfrey43 commented 4 years ago

Angular: 8.2.14 ngx-bootstrap: 5.5.0 build system: angular cli

Demo Project: https://stackblitz.com/edit/angular-r5bngk App URL: https://angular-r5bngk.stackblitz.io

I've set up the demo app to log every change detection cycle to the console. If you open the app in chrome and click on the first accordion header it will fire at least twice and then stop. In IE11 it will be run infinitely, causing the app to slow down to a crawl. This problem only occurs if the [isAnimated] property of the accordion is set to true.

xkjsbxis97994 commented 4 years ago

Angular: 8.2.14 ngx-bootstrap: 5.5.0 build system: angular cli

Demo Project: https://stackblitz.com/edit/angular-r5bngk App URL: https://angular-r5bngk.stackblitz.io

I've set up the demo app to log every change detection cycle to the console. If you open the app in chrome and click on the first accordion header it will fire at least twice and then stop. In IE11 it will be run infinitely, causing the app to slow down to a crawl. This problem only occurs if the [isAnimated] property of the accordion is set to true.

sonicpro commented 4 years ago

going to investigate the issue

daniloff200 commented 2 years ago

Right now I can't even check the issue -> stackblitz doesn't load on Win10 / IE11 correctly.

IE support for Angular already ended from ver 12, also, a bunch of the apps gonna also stop IE11 support next year, so, maybe we should close that.