Closed DineshkumarT closed 7 years ago
This is an issue because select2 will put the drop above the field if there's not room below. This is particularly bad when this field is either near the bottom of the page or in a div that has overflow: auto, and the drop disappears and the container must be scrolled to access it.
+1 for putting the drop above
I'd even be happy with an option to set it, rather than have it auto-detect. Duplicate issue: https://github.com/angular-ui/ui-select/issues/206
@mattcasey This is not really a dublicate issue of #206... #206 is more about where in the DOM tree where the select should be appended. (Wish is also reported in #41)
This issue describes how the options flips side (if it should be above or below the input) think of this like if the select was the last child of <body>
and the select
is at the bottom of the viewport
+1 for drop above. Default browser select controls do it, anything that wishes to replace that functionality should also do it!
I'm a ui-select2 user who is aching to be able to switch to ui-select, and this is definitely a requirement.
+1
+1
I think this is already resolved in a version. Added a screenshot what i have.
@user378230 , still a enhancement (maybe i'm missing something here) or can we close it?
Not sure, this is a old issue though, so we'll close it. I'm sure someone will shout if they have a problem still.
This is still an issue, unless I missed a fix for it somewhere along the way. In my case I have a selectmenu within a modal dialog.
I have the same issue, when I want to select, it goes behind my next item.
And heres the code:
<div class="list">
<div class="item item-divider">
Completar los datos para estacionar
</div>
<div class="item" >
<!--<i class="icon ion-mic-a"></i>-->
Calle seleccionada
<span class="item-note">
{{estacionar.calle | json}}
</span>
</div>
<div class="item" >
Calle
<span class="item-note">
<ui-select ng-model="estacionar.calle" theme="selectize" ng-disabled="disabled" style="width: 300px;" title="Calles">
<ui-select-match placeholder="Escribir calle...">{{$select.selected.name}}</ui-select-match>
<ui-select-choices repeat="calle in calles | filter: $select.search">
<span ng-bind-html="calle.name | highlight: $select.search"></span>
<small ng-bind-html="calle.id | highlight: $select.search"></small>
</ui-select-choices>
</ui-select>
</span>
</div>
</div>
Normal dropdowns are displaying the options over the debugging tools,but the ui-select dropdown is displaying the options under the debugging tools.
Not able to select the options in this scenario.