Status: Unconfirmed
Owner: ----
Labels: Pri-2 Via-Wizard Type-Compat OS-Android
New issue 559665 by
pardeep....@gmail.com: Content in webview is not
rendering on scroll on Android L and M
https://code.google.com/p/chromium/issues/detail?id=559665
Example URL:
Steps to reproduce the problem:
Steps:
1. Loading an website in WebView control.
Issue:
1. After load complete, I can see content rendered in view port. But once I
scroll down (or right), content doesn't render, I see only empty white/grey
area. Though I know that content is there.
This bug is seen on Android OS with version >= 5.0. On KitKat, it working
perfectly fine.
Also, in uiautomatorviewer I can see that there are VIEW elements with
non-zero co-ordinates. These VIEW elements are the one which were in View
port before scroll. Along with such VIEW elements I see other VIEW elements
which have co-ordinates (hence height, width) = 0.
Below is the code snippet:
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
WebView.enableSlowWholeDocumentDraw();
setContentView(R.layout.activity_main);
mWebView = (WebView) findViewById(R.id.myWebView);
mWebView.getSettings().setJavaScriptEnabled(true);
mWebView.addJavascriptInterface(new WebAppInterface(), "external");
mWebView.setWebViewClient(new MyWebViewClient());
mWebView.setWebChromeClient(new MyWebChromeClient());
mWebView.loadUrl(myServiceUrl);
}
Enabling/disabling hardware rendering also didn't help.
Is this a known issue? Any fix/word around?
What is the expected behavior?
Issue:
1. After load complete, I can see content rendered in view port. But once I
scroll down (or right), content doesn't render, I see only empty white/grey
area. Though I know that content is there.
What went wrong?
Content should render on scroll
Does it occur on multiple sites: N/A
Is it a problem with a plugin? N/A
Did this work before? N/A
Does this work in other browsers? N/A
Chrome version: 46.0.2490.76 Channel: stable
OS Version: 5.1
Flash Version:
It is working fine on Android OS version < 5
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings