From 72e7f0aa9fde7431742ed93cbb14033306491a79 Mon Sep 17 00:00:00 2001 From: bggRGjQaUbCoE Date: Thu, 27 Feb 2025 11:38:19 +0800 Subject: [PATCH] Revert "fix: #333" This reverts commit acfa384c0ccb1bd3cbbd41899275b4c207d6bbd8. --- lib/pages/video/detail/reply/view.dart | 2 +- lib/pages/video/detail/view_v.dart | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/pages/video/detail/reply/view.dart b/lib/pages/video/detail/reply/view.dart index 47ff2b5fc..104ebe51f 100644 --- a/lib/pages/video/detail/reply/view.dart +++ b/lib/pages/video/detail/reply/view.dart @@ -107,7 +107,7 @@ class _VideoReplyPanelState extends State ? null : _videoReplyController.scrollController, physics: widget.needController == false - ? const AlwaysScrollableScrollPhysics( + ? const NeverScrollableScrollPhysics( parent: ClampingScrollPhysics(), ) : const AlwaysScrollableScrollPhysics(), diff --git a/lib/pages/video/detail/view_v.dart b/lib/pages/video/detail/view_v.dart index 9fc0e9893..9dad49f6d 100644 --- a/lib/pages/video/detail/view_v.dart +++ b/lib/pages/video/detail/view_v.dart @@ -1804,7 +1804,11 @@ class _VideoDetailPageVState extends State child: CustomScrollView( key: const PageStorageKey('简介'), controller: needCtr ? _introController : null, - physics: needCtr.not ? const ClampingScrollPhysics() : null, + physics: needCtr.not + ? const NeverScrollableScrollPhysics( + parent: ClampingScrollPhysics(), + ) + : null, slivers: [ if (videoDetailController.videoType == SearchType.video) ...[ VideoIntroPanel(