Closed tbra91 closed 11 months ago
Unfortunately Accompanist WebView has been deprecated and won't be supported going forwards. I am closing this issue. We recommend you fork the implemenation here and customise it to your needs. For more information please see our update blog
Description
When using a
WebView
inside aHorizontalPager
there is very noticeable flickering when changing pages.This seems to be a regression in v0.31.6-rc. I first noticed this issue in versions v0.28 and earlier, but it was fixed in v0.29 onwards, and has now reappeared in v0.31.6-rc. v0.31.5-beta is fine.
A video of the issue can be seen here.
Steps to reproduce
Run the following sample with a few different URLs:
Expected behavior
Page changes are smooth with no flickering.
Additional context
Going by the changes this may be due to https://github.com/google/accompanist/pull/1684.
Possibly related to https://github.com/google/accompanist/issues/1692.
This sample also reproduces https://github.com/google/accompanist/issues/1687 when setting
userScrollEnabled = true
on theHorizontalPager
(hence the usage of buttons for paging).