From efb2c8784ac3e50b28ddf064de2857b832fc89ba Mon Sep 17 00:00:00 2001 From: wupingyuan Date: Fri, 10 Oct 2025 10:55:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E4=B8=8B=E6=8B=89?= =?UTF-8?q?=E5=88=B7=E6=96=B0=E6=89=8B=E5=8A=BF=E9=80=9F=E5=BA=A6=E8=A7=A6?= =?UTF-8?q?=E5=8F=91=E5=BF=AB=E6=97=B6=E5=8A=A0=E8=BD=BD=E5=8A=A8=E7=94=BB?= =?UTF-8?q?=E6=B8=B2=E6=9F=93=E5=BC=82=E5=B8=B8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wupingyuan --- .../spring_scrollview/src/main/cpp/SpringScrollViewNode.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/harmony/spring_scrollview/src/main/cpp/SpringScrollViewNode.cpp b/harmony/spring_scrollview/src/main/cpp/SpringScrollViewNode.cpp index bf7cdb5..7221c38 100644 --- a/harmony/spring_scrollview/src/main/cpp/SpringScrollViewNode.cpp +++ b/harmony/spring_scrollview/src/main/cpp/SpringScrollViewNode.cpp @@ -213,6 +213,9 @@ void SpringScrollViewNode::onUp(ArkUI_GestureEvent *evt) { if (shouldRefresh()) { refreshStatus = "refreshing"; contentInsets.top = refreshHeaderHeight; + if (vy > 0) { + vy = 0; + } } if (shouldLoad()) { loadingStatus = "loading";