Skip to content

Commit

Permalink
Fixed #709 - Autocomplete: when the menu open upwards style broken
Browse files Browse the repository at this point in the history
  • Loading branch information
cagataycivici committed Nov 27, 2020
1 parent 7e85054 commit 03baaea
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/autocomplete/AutoComplete.vue
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,11 @@ export default {
this.scrollHandler = null;
}
},
updated() {
if (this.overlayVisible) {
this.alignOverlay();
}
},
methods: {
onOverlayEnter() {
this.$refs.overlay.style.zIndex = String(DomHandler.generateZIndex());
Expand Down

0 comments on commit 03baaea

Please sign in to comment.