Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/36.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
Html UI选择下拉选项不显示在面板主体上方_Html_Css_Angularjs_Ui Select - Fatal编程技术网

Html UI选择下拉选项不显示在面板主体上方

Html UI选择下拉选项不显示在面板主体上方,html,css,angularjs,ui-select,Html,Css,Angularjs,Ui Select,我有一个固定高度的面板,溢出设置为自动。在该面板中,我使用ui选择 单击/打开选择框时,它将隐藏在面板页脚后面,用户必须向下滚动以查看。是否可以在设置了溢出的固定高度的框外显示ui select <div class="panel-body" style="height:100px;overflow:auto;"> <div class="col-md-12"> <ui-select ng

我有一个固定高度的面板,溢出设置为自动。在该面板中,我使用ui选择

单击/打开选择框时,它将隐藏在面板页脚后面,用户必须向下滚动以查看。是否可以在设置了溢出的固定高度的框外显示ui select

         <div class="panel-body" style="height:100px;overflow:auto;">
              <div class="col-md-12">
                <ui-select ng-model="person.selected" theme="select2" ng-disabled="disabled" style="min-width: 300px;">
                <ui-select-match placeholder="Select a person in the list or search his name/age...">{{$select.selected.name}}</ui-select-match>
                <ui-select-choices repeat="person in people | propsFilter: {name: $select.search, age: $select.search}">
                <div ng-bind-html="person.name | highlight: $select.search"></div>
                  <small>             email: {{person.email}}             age:             
                     <span ng-bind-html="''+person.age | highlight: $select.search"></span>
                  </small>
              </ui-select-choices>
              </ui-select>
        </div>

{{$select.selected.name}
电子邮件:{{person.email}}年龄:

您可以在
上使用
溢出:可见
。面板主体
与此类似

它可以工作。。但是,然后移除给定高度的滚动条,我希望滚动条位于相同的位置,滚动条应该是可见的。