Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/455.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 什么';是什么引起了我的<;选择>;框在选中时闪烁?_Javascript_Html_Css_Angularjs - Fatal编程技术网

Javascript 什么';是什么引起了我的<;选择>;框在选中时闪烁?

Javascript 什么';是什么引起了我的<;选择>;框在选中时闪烁?,javascript,html,css,angularjs,Javascript,Html,Css,Angularjs,我使用的是Angular 1.3,Bootstrap 3.3.x CSS(不是JS)。包括一个动画GIF <div class="form-group"> <div class="col-lg-3"> <label class="control-label">Delivery</label> </div> <di

我使用的是Angular 1.3,Bootstrap 3.3.x CSS(不是JS)。包括一个动画GIF

        <div class="form-group">
            <div class="col-lg-3">
                <label class="control-label">Delivery</label>
            </div>
            <div class="col-lg-9">
                <!-- (Delivery) Field -->
                <select class="form-control"
                        data-ng-options="delivery.value as delivery.name for delivery in options.deliveryOptions"
                        data-ng-model="lineItemSegment.deliveryType"></select>
            </div>
        </div>

我也有同样的问题。我在选择框上使用了引导表单控件。闪烁是由-webkit transition和transition属性引起的。通过禁用“我的样式”中的样式进行修复:

select.form-control {
    -webkit-transition: none;
    transition: none;
}

哪个是浏览器?你试过另一个吗?我的猜测是你有一个事件要在MouseLeave上关闭它,当框显示时,它会触发关闭。试着使用键盘,看看它是否以同样的方式来排除这种情况。没有ng代码很难判断。@Miro你说得对,键盘不能做到这一点。但是你的假期是怎么联系上的呢???我应该找什么?
select.form-control {
    -webkit-transition: none;
    transition: none;
}