📱 输入框判断改进

This commit is contained in:
Vanessa 2026-02-10 17:19:23 +08:00
parent 5325001d24
commit aeb60ce80a

View file

@ -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()) {