android-nested-scroll-webview icon indicating copy to clipboard operation
android-nested-scroll-webview copied to clipboard

horizontal swipe/scroll doesn't work

Open MasterOfTouch opened this issue 2 years ago • 4 comments

As title say, it's impossible to scroll webview in horizontal direction. It seems it's only possible to scroll in ideal horizontal axis, thats not suitable for user.

MasterOfTouch avatar May 31 '23 17:05 MasterOfTouch

Hi @MasterOfTouch , thanks a lot for your feedback.

From my tests, horizontal scroll / fling is working correctly for scrollable elements inside the page. In case page is not adapted to device width bounds, or when enabling zoom controls, NestedScrollView/WebView implementation does not work correctly neither, so we would need to extend this implementation to solve this problem also.

Is any of these your case? If not, please, I'll appreciate a code example to reproduce it.

Thanks in advance!

dpastor avatar Jun 05 '23 15:06 dpastor

My case is related to big wep pages, yes they are not adapted to mobile, but it's expected.

MasterOfTouch avatar Jun 12 '23 22:06 MasterOfTouch

An attempt to scroll any page that is wider than the current viewport results in the position always being reset to zero horizontally. I am not talking about an internal scroll, but a scroll of the entire page in the horizontal direction.

yargray avatar Feb 06 '24 11:02 yargray

I'm also facing the same issue (When I pinch to zoom and scroll horizontally it always re-scroll the WebView to initial Y '0' position). Did any one find a solution for this problem?

rahul-hexalitics avatar Feb 27 '24 06:02 rahul-hexalitics