Merge pull request #42443 from nextcloud/fix/41876/files--focus-file-name-on-new-folder-rename

fix(files): focus file name on renaming also initially
This commit is contained in:
Grigorii K. Shartsev 2024-01-02 21:55:37 +05:00 committed by GitHub
commit 22188979f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 7 deletions

View file

@ -185,10 +185,13 @@ export default Vue.extend({
* in the input, without the extension.
* @param renaming
*/
isRenaming(renaming: boolean) {
if (renaming) {
this.startRenaming()
}
isRenaming: {
immediate: true,
handler(renaming: boolean) {
if (renaming) {
this.startRenaming()
}
},
},
},

4
dist/files-main.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long