Fixed #659 - Multiselect/Dropdown: when the menu open upwards style broken
parent
6426f6b533
commit
17da869695
|
@ -103,11 +103,6 @@ export default {
|
||||||
}
|
}
|
||||||
this.overlay = null;
|
this.overlay = null;
|
||||||
},
|
},
|
||||||
updated() {
|
|
||||||
if (this.overlayVisible && this.filterValue) {
|
|
||||||
this.alignOverlay();
|
|
||||||
}
|
|
||||||
},
|
|
||||||
methods: {
|
methods: {
|
||||||
getOptionLabel(option) {
|
getOptionLabel(option) {
|
||||||
return this.optionLabel ? ObjectUtils.resolveFieldData(option, this.optionLabel) : option;
|
return this.optionLabel ? ObjectUtils.resolveFieldData(option, this.optionLabel) : option;
|
||||||
|
@ -464,6 +459,9 @@ export default {
|
||||||
},
|
},
|
||||||
onFilterChange(event) {
|
onFilterChange(event) {
|
||||||
this.$emit('filter', {originalEvent: event, value: event.target.value});
|
this.$emit('filter', {originalEvent: event, value: event.target.value});
|
||||||
|
if (this.overlayVisible) {
|
||||||
|
this.alignOverlay();
|
||||||
|
}
|
||||||
},
|
},
|
||||||
overlayRef(el) {
|
overlayRef(el) {
|
||||||
this.overlay = el;
|
this.overlay = el;
|
||||||
|
|
|
@ -126,11 +126,6 @@ export default {
|
||||||
}
|
}
|
||||||
this.overlay = null;
|
this.overlay = null;
|
||||||
},
|
},
|
||||||
updated() {
|
|
||||||
if (this.overlayVisible && this.filterValue) {
|
|
||||||
this.alignOverlay();
|
|
||||||
}
|
|
||||||
},
|
|
||||||
methods: {
|
methods: {
|
||||||
getOptionLabel(option) {
|
getOptionLabel(option) {
|
||||||
return this.optionLabel ? ObjectUtils.resolveFieldData(option, this.optionLabel) : option;
|
return this.optionLabel ? ObjectUtils.resolveFieldData(option, this.optionLabel) : option;
|
||||||
|
@ -410,6 +405,9 @@ export default {
|
||||||
},
|
},
|
||||||
onFilterChange(event) {
|
onFilterChange(event) {
|
||||||
this.$emit('filter', {originalEvent: event, value: event.target.value});
|
this.$emit('filter', {originalEvent: event, value: event.target.value});
|
||||||
|
if (this.overlayVisible) {
|
||||||
|
this.alignOverlay();
|
||||||
|
}
|
||||||
},
|
},
|
||||||
overlayRef(el) {
|
overlayRef(el) {
|
||||||
this.overlay = el;
|
this.overlay = el;
|
||||||
|
|
Loading…
Reference in New Issue