Select full item name upon entering edit mode in the collection tree
(Instead of placing the cursor at the end of the edit field) Closes #2316
This commit is contained in:
parent
da8f4df8ca
commit
d2aa945083
1 changed files with 1 additions and 0 deletions
|
@ -292,6 +292,7 @@ var CollectionTree = class CollectionTree extends LibraryTree {
|
||||||
// Feels like a bit of a hack, but it gets the job done
|
// Feels like a bit of a hack, but it gets the job done
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
label.focus();
|
label.focus();
|
||||||
|
label.select();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue