I've found that in UIWebView, document.body is also sometimes moved. So I use:
input.onfocus = function () {
window.scrollTo(0, 0);
document.body.scrollTop = 0;
}
I've found that in UIWebView, document.body is also sometimes moved. So I use:
input.onfocus = function () {
window.scrollTo(0, 0);
document.body.scrollTop = 0;
}
For further actions, you may consider blocking this person and/or reporting abuse
David Mytton -
Lucas Lima do Nascimento -
Fega Suseno -
Paul Elliott -
Top comments (0)