mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-12 10:14:21 +01:00
📱 输入框判断改进
This commit is contained in:
parent
5325001d24
commit
aeb60ce80a
1 changed files with 3 additions and 1 deletions
|
|
@ -96,7 +96,9 @@ class App {
|
|||
}
|
||||
if (["INPUT", "TEXTAREA"].includes(event.target.tagName)) {
|
||||
setTimeout(() => {
|
||||
event.target.scrollIntoView();
|
||||
event.target.scrollIntoView({
|
||||
block: "center",
|
||||
});
|
||||
}, Constants.TIMEOUT_TRANSITION);
|
||||
}
|
||||
if (isInIOS()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue