hookehuyr

fix

......@@ -53,7 +53,7 @@ const openKeyboard = (e) => {
document.getElementById("app").style.paddingBottom = "244px";
window.scrollTo(0, $("#app").height());
} else {
document.documentElement.scrollTop = 400;
document.documentElement.scrollTop = target_top + 244;
}
};
const blurKeyboard = () => {
......
......@@ -65,7 +65,7 @@ const showKeyboard = (e) => {
if (target_top < 244) {
window.scrollTo(0, $("#app").height());
} else {
document.documentElement.scrollTop = 400;
document.documentElement.scrollTop = target_top + 244;
}
};
const blurKeyboard = () => {
......
......@@ -75,7 +75,7 @@ const openKeyboard = (e) => {
document.getElementById("app").style.paddingBottom = "244px";
window.scrollTo(0, $("#app").height());
} else {
document.documentElement.scrollTop = 400;
document.documentElement.scrollTop = target_top + 244;
}
};
const blurKeyboard = () => {
......