fix(#6457): Tags disappear after resizing then dismissing the Add Tag select (#6499)

This commit is contained in:
Vitor Henckel 2023-03-23 18:48:56 -03:00 committed by GitHub
parent 665ba6dae1
commit 29df748f2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -177,10 +177,9 @@ export default {
if (this.$refs.TagEditor) {
const clickedInsideTagEditor = this.$refs.TagEditor.contains(event.target);
if (!clickedInsideTagEditor) {
// Remove last tag when user clicks outside of TagSelection
this.addedTags.pop();
// Hide TagSelection and show "Add Tag" button
this.userAddingTag = false;
this.tagsChanged();
}
}
},