Pip

Results comments of Pip

``` if (mDisableWhenHorizontalMove && !mPreventForHorizontal && (Math.abs(offsetX) > mPagingTouchSlop && Math.abs(offsetX) > Math.abs(offsetY))) { if (mPtrIndicator.isInStartPosition()) { mPreventForHorizontal = true; } } ``` 在以上代码中,作者的`offsetX`是touchevent与上一次 touchevent的差。错误在于作者将`mPagingTouchSlop`与`offsetX`做比较。因为`offsetX`实质是**ΔX**,不是距离。正确的比较方案应该是`mPagingTouchSlop`与(当前touchevent-按下时touchevent)做比较,进而给`mPreventForHorizontal`赋值

I am experiencing the same issue on Xiaomi 6 (android 7.1.1)

I have found something useful from the [link to stakoverflow](http://stackoverflow.com/questions/7222449/nsdefaultrunloopmode-vs-nsrunloopcommonmodes) As Eonil Said: > Just a note for myself: NSRunLoopCommonModes allows timer event while scrolling in UIScrollView. >NSDefaultRunLoopMode prevent timer...