mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-30 20:25:17 +01:00
This commit is contained in:
parent
ba6dc2d992
commit
54b0141372
1 changed files with 4 additions and 0 deletions
|
|
@ -205,7 +205,9 @@ export const movePathTo = (cb: (toPath: string[], toNotebook: string[]) => void,
|
|||
}, flashcard);
|
||||
|
||||
const inputElement = dialog.element.querySelector(".b3-text-field") as HTMLInputElement;
|
||||
/// #if !MOBILE
|
||||
inputElement.focus();
|
||||
/// #endif
|
||||
const inputEvent = (event?: InputEvent) => {
|
||||
if (event && event.isComposing) {
|
||||
return;
|
||||
|
|
@ -469,7 +471,9 @@ export const movePathTo = (cb: (toPath: string[], toNotebook: string[]) => void,
|
|||
}
|
||||
target = target.parentElement;
|
||||
}
|
||||
/// #if !MOBILE
|
||||
inputElement.focus();
|
||||
/// #endif
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue