tobiasrohloff / NestedScrollWebView

An Android WebView that implements NestedScrollingChild, in order to use it with CoordinatorLayout and AppBarLayout.
Other
334 stars 81 forks source link

`onTouchEvent` does not handle `MotionEvent.ACTION_POINTER_UP` #10

Closed nobuyukishikano closed 5 years ago

nobuyukishikano commented 6 years ago

When I zoom a WebView by pinching, zooming will suddenly be canceled. It seems that onTouchEvent does not handle MotionEvent.ACTION_POINTER_UP. I added case MotionEvent.ACTION_POINTER_UP at L109 (or changed L108 - L110 to default:), and it works fine. Could you confirm this?

tobiasrohloff commented 6 years ago

I only used this for WebViews with a fixed viewport, thus zooming was never a supported feature.

ahar-zz commented 5 years ago

@nobuyukishikano have you fixed this issue?