Set the focus back to the search input when removing a tag
The idea is that if they removed a tag it is more that possible that they want to continue editing tags.
This commit is contained in:
parent
3b568b013f
commit
1290fc7283
|
@ -423,7 +423,8 @@ class Tags extends HTMLDivElement {
|
|||
button.textContent = '×';
|
||||
button.addEventListener('click', (e) => {
|
||||
e.stopPropagation();
|
||||
this.removeTag(tagText)
|
||||
this.removeTag(tagText);
|
||||
this.search.focus();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue