android - Why webView.getContentHeight() < webView.computeVerticalScrollRange()? -


i'm working webview , i've come across unexpected behaviour: webview's vertical scroll range higher content height. values debugger:

getcontentheight()               5123 computeverticalscrollrange()     6820    

how possible?

the following expect true:

verticalscrollrange + webviewheight = contentheight 

why webview not in accordance this?

computeverticalscrollrange() uses arbitrary units in docs. there no guarantee match other units such pixels.


Comments

Popular posts from this blog

C# random value from dictionary and tuple -

cgi - How do I interpret URLs without extension as files rather than missing directories in nginx? -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -