Skip to content

Commit

Permalink
Merge pull request #9806 from nextcloud/fix/ncselect-active-state
Browse files Browse the repository at this point in the history
fix: close the ncselect dropdown when clicked somewhere else
  • Loading branch information
ChristophWurst committed Jul 15, 2024
2 parents dd160e6 + d6daaef commit d2fa4e3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/Composer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,10 @@ export default {
},
methods: {
clearOnBlur(event) {
return this.recipientSearchTerms[event].includes('@')
if (this.recipientSearchTerms[event]) {
return this.recipientSearchTerms[event].includes('@')
}
return false
},
handleShow(event) {
this.$emit('show-toolbar', event)
Expand Down

0 comments on commit d2fa4e3

Please sign in to comment.