mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 17:32:36 +00:00
Fixed #659 - Multiselect/Dropdown: when the menu open upwards style broken
This commit is contained in:
parent
6426f6b533
commit
17da869695
2 changed files with 6 additions and 10 deletions
|
@ -103,11 +103,6 @@ export default {
|
|||
}
|
||||
this.overlay = null;
|
||||
},
|
||||
updated() {
|
||||
if (this.overlayVisible && this.filterValue) {
|
||||
this.alignOverlay();
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
getOptionLabel(option) {
|
||||
return this.optionLabel ? ObjectUtils.resolveFieldData(option, this.optionLabel) : option;
|
||||
|
@ -464,6 +459,9 @@ export default {
|
|||
},
|
||||
onFilterChange(event) {
|
||||
this.$emit('filter', {originalEvent: event, value: event.target.value});
|
||||
if (this.overlayVisible) {
|
||||
this.alignOverlay();
|
||||
}
|
||||
},
|
||||
overlayRef(el) {
|
||||
this.overlay = el;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue