[英]Angular 4 animations on IE11 not working properly
Code sample
https://plnkr.co/edit/sT0YL2T3w940RPlIu1YL?p=preview
在此示例中,您可以看到将相同的动画应用于表的tr的动画没有动画,而将相同的动画应用于div的动画正确动画了。
这仅在IE11中发生。
您对此有解释吗?
案例angular-cli,写在polyfills.ts文件上:import'web-animations-js';
并安装web-animations-js。
/ ** IE10和IE11需要以下内容才能支持@angular/animation
。 * /
import 'web-animations-js'; // Run `npm install --save web-animations-js`.
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.