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
Jonathan Shobrook -
Vaibhav Kulshrestha -
Grant Riordan -
Trix Cyrus -
Top comments (0)