Skip to content

Instantly share code, notes, and snippets.

@Haoxiqiang
Created July 25, 2022 03:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Haoxiqiang/e8065c21bb58a505e2ee8ea8ccf39fae to your computer and use it in GitHub Desktop.
Save Haoxiqiang/e8065c21bb58a505e2ee8ea8ccf39fae to your computer and use it in GitHub Desktop.
If the page height of WebView must be 100%, you want get scroll Y
webview.evaluateJavascript(
"(function(){document.documentElement.style.overflow='visible';}()",
null
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment