opt scrollable gesture

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-07-31 15:34:50 +08:00
parent 32fd0e4a76
commit 1ded09f246
52 changed files with 460 additions and 3172 deletions

View File

@@ -587,13 +587,10 @@ class _VideoDetailPageVState extends State<VideoDetailPageV>
buildTabBar(onTap: videoDetailController.animToTop),
Expanded(
child: tabBarView(
hitTestBehavior: .translucent,
controller: videoDetailController.tabCtr,
children: [
videoIntro(
isHorizontal: false,
needCtr: false,
isNested: true,
),
videoIntro(isHorizontal: false, needCtr: false),
if (videoDetailController.showReply)
videoReplyPanel(isNested: true),
if (_shouldShowSeasonPanel) seasonPanel,
@@ -1648,7 +1645,6 @@ class _VideoDetailPageVState extends State<VideoDetailPageV>
bool? isHorizontal,
bool needRelated = true,
bool needCtr = true,
bool isNested = false,
}) {
if (videoDetailController.isFileSource) {
return localIntroPanel(needCtr: needCtr);
@@ -1708,12 +1704,6 @@ class _VideoDetailPageVState extends State<VideoDetailPageV>
),
],
);
if (isNested) {
child = ExtendedVisibilityDetector(
uniqueKey: const Key('intro-panel'),
child: child,
);
}
return KeepAliveWrapper(child: child);
}