Dropdown fixes
This commit is contained in:
parent
fbd6a5d58a
commit
c9ba1d00e4
|
@ -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
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue