当我在IE11,AngularJs 1.3和bootstrap 3.3.5中切换(点击搜索按钮,例如)时,我面临闪烁屏幕的问题。
我正在基于某些真/假条件在同一个栏上显示和隐藏元素,如下所示:
<section class="col-sm-12 col-md-12 col-lg-12"
ng-show="!vm.displayFilter">..</section>
<section class="col-sm-12 col-md-12 col-lg-12"
ng-show="!vm.displaySearch">..</section>
当我点击另一个碰撞时,然后显示ng-show true。这只发生在IE11中,它的修复方法是什么?
答案 0 :(得分:0)
我自己找到了一个快速解决办法:
在LESS / CSS中添加以下内容:
.ng-hide {display:none!important;}
我从这里了解到它: http://weblog.west-wind.com/posts/2014/Jun/02/AngularJs-ngcloak-Problems-on-large-Pages
这是一个AJS闪烁问题w.r.t. IE11 + AJS 1.3,当我们使用ng-show和hide时。这似乎是最近在AJS 1.4中修复的。