Prevent dblclick inside collection name input from reactivating row
This commit is contained in:
parent
ecf1595998
commit
0f4a9e1482
1 changed files with 1 additions and 0 deletions
|
@ -351,6 +351,7 @@ var CollectionTree = class CollectionTree extends LibraryTree {
|
|||
label.addEventListener('input', e => this.handleEditingChange(e, index));
|
||||
label.addEventListener('mousedown', (e) => e.stopImmediatePropagation());
|
||||
label.addEventListener('mouseup', (e) => e.stopImmediatePropagation());
|
||||
label.addEventListener('dblclick', (e) => e.stopImmediatePropagation());
|
||||
label.addEventListener('blur', async (e) => {
|
||||
await this.commitEditingName();
|
||||
this.stopEditing();
|
||||
|
|
Loading…
Reference in a new issue