简体   繁体   中英

Angular 4 animations on IE11 not working properly

Code sample

https://plnkr.co/edit/sT0YL2T3w940RPlIu1YL?p=preview

In this example you can see how the same animation applied ones to a table's tr is not animating and the same animation applied to a div is animating properly.

This only happens in IE11.

Do you have an explanation for this?

Case angular-cli, write on polyfills.ts file: import 'web-animations-js';

And install web-animations-js.

/** IE10 and IE11 requires the following to support @angular/animation . */

import 'web-animations-js';  // Run `npm install --save web-animations-js`.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM