Fixed
Status Update
Comments
en...@google.com <en...@google.com> #2
You can see that the webview height is the full height of the site content. With behaviour the webview cant get the current scroll position. For the javascript onscrolllistener i have a workaround posted on stackoverflow:
http://stackoverflow.com/questions/34788313
en...@google.com <en...@google.com> #3
Another problem is that you cant positioning a element as a footer or header because the viewport of the WebView isnt correct. I wish Google will change this.
en...@google.com <en...@google.com> #4
Hi,
please attach your sample project which reproduces the issue, zip it and share.
explain expected and observed behavior? Attach screen shots for more clarity.
Which device the issue observed on?
Explain the steps to reproduce the issue with your apk.
Note: Please upload the attachments to google drive and share the folder to android-bugreport@google.com, then share the link here.
please attach your sample project which reproduces the issue, zip it and share.
explain expected and observed behavior? Attach screen shots for more clarity.
Which device the issue observed on?
Explain the steps to reproduce the issue with your apk.
Note: Please upload the attachments to google drive and share the folder to android-bugreport@google.com, then share the link here.
en...@google.com <en...@google.com> #5
Hi,
i have uploading a sample app to reproduce the issue.
https://drive.google.com/file/d/0B_2jFRN7HVpZYWhqbU5vZlJrWDA/view
The expected behaviour is, that the webview height is only maximal large as the screen size.
The issue is, that the webview height is the height of the content of the loaded page.
I can reproduce the issue on sereral devices like Nexus 5 with Android 6 or HTC M9 with Android 5.
You can reproduce the issue:
- Install the app
- Open in chrome: chrome://inspect
- You can see in the preview of the screen, that the webview has the full height of the content
If you comment out the NestedScrollView in the activity_main.xml, the webview height has the max height of the screen.
I hope that you understand what the problem is.
The behaviour is very ugly, because you cant set a scrollistener in javascript or positioning a div absolute.
Best regards,
Steffen
i have uploading a sample app to reproduce the issue.
The expected behaviour is, that the webview height is only maximal large as the screen size.
The issue is, that the webview height is the height of the content of the loaded page.
I can reproduce the issue on sereral devices like Nexus 5 with Android 6 or HTC M9 with Android 5.
You can reproduce the issue:
- Install the app
- Open in chrome: chrome://inspect
- You can see in the preview of the screen, that the webview has the full height of the content
If you comment out the NestedScrollView in the activity_main.xml, the webview height has the max height of the screen.
I hope that you understand what the problem is.
The behaviour is very ugly, because you cant set a scrollistener in javascript or positioning a div absolute.
Best regards,
Steffen
Description
it might also be worth looking at our other global mutexes to see if we have similar bugs lurking.