Use computeVerticalScrollRange() to find the bottom
of the page as mContentHeight is not in the view system. Fix http://b/issue?id=2251909
This commit is contained in:
@@ -1525,7 +1525,7 @@ public class WebView extends AbsoluteLayout
|
||||
}
|
||||
nativeClearCursor(); // start next trackball movement from page edge
|
||||
if (bottom) {
|
||||
return pinScrollTo(mScrollX, mContentHeight, true, 0);
|
||||
return pinScrollTo(mScrollX, computeVerticalScrollRange(), true, 0);
|
||||
}
|
||||
// Page down.
|
||||
int h = getHeight();
|
||||
|
||||
Reference in New Issue
Block a user