Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-02-27 09:38:34 +08:00
parent c2d27ddd04
commit acfa384c0c
2 changed files with 2 additions and 6 deletions

View File

@@ -107,7 +107,7 @@ class _VideoReplyPanelState extends State<VideoReplyPanel>
? null ? null
: _videoReplyController.scrollController, : _videoReplyController.scrollController,
physics: widget.needController == false physics: widget.needController == false
? const NeverScrollableScrollPhysics( ? const AlwaysScrollableScrollPhysics(
parent: ClampingScrollPhysics(), parent: ClampingScrollPhysics(),
) )
: const AlwaysScrollableScrollPhysics(), : const AlwaysScrollableScrollPhysics(),

View File

@@ -1804,11 +1804,7 @@ class _VideoDetailPageVState extends State<VideoDetailPageV>
child: CustomScrollView( child: CustomScrollView(
key: const PageStorageKey<String>('简介'), key: const PageStorageKey<String>('简介'),
controller: needCtr ? _introController : null, controller: needCtr ? _introController : null,
physics: needCtr.not physics: needCtr.not ? const ClampingScrollPhysics() : null,
? const NeverScrollableScrollPhysics(
parent: ClampingScrollPhysics(),
)
: null,
slivers: [ slivers: [
if (videoDetailController.videoType == SearchType.video) ...[ if (videoDetailController.videoType == SearchType.video) ...[
VideoIntroPanel( VideoIntroPanel(