📱 输入键盘

Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2026-02-10 20:59:38 +08:00
parent 621ca5d273
commit 3e8e09ff59
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -576,7 +576,7 @@
init();
window.addEventListener("click", (event) => {
if (event.target.tagName === "INPUT" &&
["email", "number", "password", "search", "tel", "text", "url", ""].includes(event.target.getAttribute("type")) &&
["email", "number", "password", "search", "tel", "text", "url", "", null].includes(event.target.getAttribute("type")) &&
event.target.getAttribute("readonly") !== "readonly") {
if (window.JSAndroid && window.JSAndroid.showKeyboard) {
window.JSAndroid.showKeyboard();