ludei / webview-plus

Uniform webview on any Android 4.x device.
103 stars 16 forks source link

Scroll flickering on webview+ #13

Open maaljam opened 10 years ago

maaljam commented 10 years ago

Enviroment: CocoonJS: 1.0.0-0.5.0 webview+: 2.1.0 Cordova: 3.5.0-0.2.4

This is regarding the performance issue mentioned here.

Description: When scrolling through a list of divs or images, top and bottom of the scroll div start flickering. Without webview+ (using regular webview), scrolling is smooth and this problem does not occure.

Reproducing the issue/Test case:

You should be able to see some flickering when scrolling through the green list.

Note: I discovered that if I remove div{overlflow:hidden} property, the issue gets solved and scrolling a list becomes smooth and without flickering. I did not want to raise the issue since I found this temporary solution but I thought this maybe needs to be brought to your attention anyway. Honestly I do not know the cause of this behaviour. if you think it is not related to cocoonjs chromium, please close the issue.

agamemnus commented 10 years ago

Yes I also noticed an issue like this. It seems that the scrollbar width, height, position, and visual appearance is corrupted.

ludei commented 10 years ago

Thank you for the heads up. We've found similar behavior in other demos, where the content seem to be rendered before the webview+ has all the data to compute it. We'll try to keep you informed once this error is solved.