We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
这个是android原生浏览器的一个bug,解决办法:
if(/Android 4\.[0-3]/.test(navigator.appVersion)){ window.addEventListener("resize", function(){ if(document.activeElement.tagName=="INPUT"){ window.setTimeout(function(){ document.activeElement.scrollIntoViewIfNeeded(); },0); } }) }
代码参考来源:https://stackoverflow.com/questions/23757345/android-does-not-correctly-scroll-on-input-focus-if-not-body-element
The text was updated successfully, but these errors were encountered:
No branches or pull requests
这个是android原生浏览器的一个bug,解决办法:
代码参考来源:https://stackoverflow.com/questions/23757345/android-does-not-correctly-scroll-on-input-focus-if-not-body-element
The text was updated successfully, but these errors were encountered: