Skip to content

Commit

Permalink
Merge pull request #154 from mumu-lhl/fix-scroll-in-webview
Browse files Browse the repository at this point in the history
fix: disable scroll on TabBarView in WebviewDisplay
  • Loading branch information
mumu-lhl authored Feb 1, 2025
2 parents c1a1579 + 6787fa1 commit 17c4bb2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/pages/webview_display.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 17c4bb2

Please sign in to comment.