From 28ef1890d1663910c14ae6fc3132bd548bd386a5 Mon Sep 17 00:00:00 2001 From: bggRGjQaUbCoE Date: Thu, 13 Mar 2025 22:08:06 +0800 Subject: [PATCH] fix: #438 Signed-off-by: bggRGjQaUbCoE --- lib/pages/video/detail/reply_reply/view.dart | 28 +++++++++++--------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/lib/pages/video/detail/reply_reply/view.dart b/lib/pages/video/detail/reply_reply/view.dart index f4acdaa9a..788b38a15 100644 --- a/lib/pages/video/detail/reply_reply/view.dart +++ b/lib/pages/video/detail/reply_reply/view.dart @@ -434,19 +434,21 @@ class _VideoReplyReplyPanelState Widget _buildBody(LoadingState loadingState, int index) { return switch (loadingState) { - Loading() => CustomScrollView( - shrinkWrap: true, - physics: const NeverScrollableScrollPhysics(), - slivers: [ - SliverList( - delegate: SliverChildBuilderDelegate( - (BuildContext context, int index) { - return const VideoReplySkeleton(); - }, - childCount: 8, - ), - ) - ], + Loading() => IgnorePointer( + child: CustomScrollView( + shrinkWrap: true, + physics: const NeverScrollableScrollPhysics(), + slivers: [ + SliverList( + delegate: SliverChildBuilderDelegate( + (BuildContext context, int index) { + return const VideoReplySkeleton(); + }, + childCount: 8, + ), + ) + ], + ), ), Success() => () { if (index == loadingState.response.length) {