Skip to content

Commit

Permalink
Fixed #871 - Improve float label support in overlay selects
Browse files Browse the repository at this point in the history
  • Loading branch information
cagataycivici committed Jan 20, 2021
1 parent 64ca83f commit 6ac13ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/dropdown/Dropdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ export default {
'p-dropdown-clearable': this.showClear && !this.disabled,
'p-focus': this.focused,
'p-inputwrapper-filled': this.modelValue,
'p-inputwrapper-focus': this.focused
'p-inputwrapper-focus': this.focused || this.overlayVisible
}
];
},
Expand Down
2 changes: 1 addition & 1 deletion src/components/multiselect/MultiSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ export default {
'p-disabled': this.disabled,
'p-focus': this.focused,
'p-inputwrapper-filled': this.modelValue && this.modelValue.length,
'p-inputwrapper-focus': this.focused
'p-inputwrapper-focus': this.focused || this.overlayVisible
}
];
},
Expand Down

0 comments on commit 6ac13ef

Please sign in to comment.