选择剪辑内容

时间:2014-09-15 20:14:15

标签: html angularjs

我遇到了一个小问题。

我有一个角度项目,在Chrome中有一个html选择,剪辑我正在显示的一些数据。

enter image description here

你可以看到最后一行是如何在列表末尾被剪裁的,这使得很难看到最后一行。

此问题仅在我第一次展开选择时发生,在关闭并再次展开列表后,数据显示正确而没有裁剪。

有人知道如何解决这个问题? html代码看起来像这样:http://goo.gl/wc7T9j

<select data-icon="arrow-d" name="alternates" id="alternates" ng-model="alternate" ng-multiple="false" ng-change="setAlternateLine()" data-ngm-selectmenu="[]" class="ng-pristine ng-valid">
<option style="display:none" value="">select</option>
<option ng-repeat="alternate in tempOutcome.alternates" ng-if="!!alternate" ng-selected="alternate.points == tempOutcome.points" value="{&quot;price&quot;:198,&quot;points&quot;:-2.5}" style="color:black" class="ng-scope ng-binding">
    Washington Nationals 
    -2½
    +198
</option>
<option ng-repeat="alternate in tempOutcome.alternates" ng-if="!!alternate" ng-selected="alternate.points == tempOutcome.points" value="{&quot;price&quot;:163,&quot;points&quot;:-2}" style="color:black" class="ng-scope ng-binding">
    Washington Nationals 
    -2
    +163
</option>
<option ng-repeat="alternate in tempOutcome.alternates" ng-if="!!alternate" ng-selected="alternate.points == tempOutcome.points" value="{&quot;price&quot;:127,&quot;points&quot;:-1.5}" style="color:green" class="ng-scope ng-binding" selected="selected">
    Washington Nationals 
    -1½
    +127
</option>
<option ng-repeat="alternate in tempOutcome.alternates" ng-if="!!alternate" ng-selected="alternate.points == tempOutcome.points" value="{&quot;price&quot;:-110,&quot;points&quot;:-1}" style="color:black" class="ng-scope ng-binding">
    Washington Nationals 
    -1
    -110
</option>     

提前致谢。

0 个答案:

没有答案