Dropdown fixes

This commit is contained in:
Juan 2018-03-09 15:09:54 +01:00
parent fbd6a5d58a
commit c9ba1d00e4
2 changed files with 2 additions and 3 deletions

View File

@ -19,10 +19,9 @@
vn-id="model"
on-data-change="$ctrl.onModelDataChange()">
</vn-model>
<div class="list">
<div class="list" tabindex="-1">
<ul
class="dropdown"
tabindex="-1"
ng-click="$ctrl.onContainerClick($event)">
</ul>
<div

View File

@ -274,7 +274,7 @@ export default class DropDown extends Component {
}
onDocFocusIn(event) {
if (event !== this.lastFocusEvent && event.originalTarget !== this.parent)
if (event !== this.lastFocusEvent)
this.hide();
}