我遇到了一个小问题。
我有一个角度项目,在Chrome中有一个html选择,剪辑我正在显示的一些数据。
你可以看到最后一行是如何在列表末尾被剪裁的,这使得很难看到最后一行。
此问题仅在我第一次展开选择时发生,在关闭并再次展开列表后,数据显示正确而没有裁剪。
有人知道如何解决这个问题? 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="{"price":198,"points":-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="{"price":163,"points":-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="{"price":127,"points":-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="{"price":-110,"points":-1}" style="color:black" class="ng-scope ng-binding">
Washington Nationals
-1
-110
</option>
提前致谢。