fix: 去除变宽的回弹效果

This commit is contained in:
orz12
2024-04-04 10:46:34 +08:00
parent d43feec713
commit d714d7c1b1
2 changed files with 3 additions and 0 deletions

View File

@@ -80,6 +80,7 @@ class _UpPanelState extends State<UpPanel> {
children: [
Expanded(
child: ListView(
physics: const BouncingScrollPhysics(),
scrollDirection: Axis.horizontal,
controller: scrollController,
children: [

View File

@@ -585,6 +585,7 @@ class _VideoDetailPageState extends State<VideoDetailPage>
),
Expanded(
child: TabBarView(
physics: const BouncingScrollPhysics(),
controller: videoDetailController.tabCtr,
children: <Widget>[
CustomScrollView(
@@ -846,6 +847,7 @@ class _VideoDetailPageState extends State<VideoDetailPage>
MediaQuery.of(context).padding.top -
MediaQuery.of(context).padding.bottom,
child: TabBarView(
physics: const BouncingScrollPhysics(),
controller: videoDetailController.tabCtr,
children: <Widget>[
if (videoDetailController.videoType ==