onTouchEvent bug when using ObservableWebView inside NestedScrollView

Author: shineMCreated Jan 21, 2019Updated Jan 21, 2019

ObservableWebView has call NestedScrollView.onInterceptTouchEvent(event) in onTouchEvent and then NestedScrollView's mLastMotionY will changed to Y coordinate value of this event's,but this value maybe is bigger than NestedScrollView's max height(when scrolled the WebView),which cause the bug that when I clicked some area inside WebView but it scroll to bottom.

Source: ksoichiro/Android-ObservableScrollView