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
Karthik Sakthivel -
Shaikh Al Amin -
John Stein -
Alex Merced -
Top comments (0)