From 6787fa1ba343b92a919994b1f51ee84afd74df22 Mon Sep 17 00:00:00 2001 From: Mumulhl Date: Sat, 1 Feb 2025 14:49:20 +0800 Subject: [PATCH] fix: disable scroll on TabBarView in WebviewDisplay --- lib/pages/webview_display.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/pages/webview_display.dart b/lib/pages/webview_display.dart index 85b001f..c5f3801 100644 --- a/lib/pages/webview_display.dart +++ b/lib/pages/webview_display.dart @@ -234,7 +234,8 @@ class WebviewDisplay extends StatelessWidget { ], )), floatingActionButton: Button(word: word), - body: TabBarView(children: [ + body: + TabBarView(physics: NeverScrollableScrollPhysics(), children: [ for (final id in dictManager.dictIds) FutureBuilder( future: dictManager.dicts[id]!.readWord(word),