Skip to content

Commit

Permalink
Fix #1165 autocomplete disappear
Browse files Browse the repository at this point in the history
  • Loading branch information
jtommy committed Jan 11, 2019
1 parent a42b7b2 commit ba74700
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/autocomplete/Autocomplete.vue
Expand Up @@ -26,14 +26,13 @@
:class="{ 'is-opened-top': !isListInViewportVertically }"
v-show="isActive && (data.length > 0 || hasEmptySlot || hasHeaderSlot)"
ref="dropdown">
<div class="dropdown-content">
<div class="dropdown-content" v-show="isActive">
<div
v-if="hasHeaderSlot"
class="dropdown-item">
<slot name="header"/>
</div>
<a
v-show="isActive"
v-for="(option, index) in data"
:key="index"
class="dropdown-item"
Expand Down

0 comments on commit ba74700

Please sign in to comment.