From da700119700236140368886d444c36940671f9d7 Mon Sep 17 00:00:00 2001 From: MisakaKumomi <447f.misaka@outlook.com> Date: Tue, 1 Mar 2022 15:04:15 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=BB=91=E5=8A=A8=E8=BF=87=E7=A8=8B?= =?UTF-8?q?=E4=B8=AD=E6=89=8B=E6=8C=87=E5=A7=8B=E7=BB=88=E5=81=9C=E7=95=99?= =?UTF-8?q?=E5=9C=A8=E5=B1=8F=E5=B9=95=E4=B8=8A=E4=BC=9A=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E7=82=B9=E5=87=BB=E5=88=97=E8=A1=A8=E4=B8=AD?= =?UTF-8?q?=E5=85=83=E7=B4=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/SpringScrollView.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/SpringScrollView.js b/src/SpringScrollView.js index 7d47fe7..df26e8a 100644 --- a/src/SpringScrollView.js +++ b/src/SpringScrollView.js @@ -94,6 +94,8 @@ export class SpringScrollView extends React.PureComponent this._dragging = false} + onMomentumScrollBegin={() => this._dragging = true} onMomentumScrollEnd={this._onMomentumScrollEnd} scrollEventThrottle={1} onStartShouldSetResponderCapture={() => this._dragging}