diff --git a/lib/src/content_area.dart b/lib/src/content_area.dart index 3d4cd4c..f990f00 100644 --- a/lib/src/content_area.dart +++ b/lib/src/content_area.dart @@ -39,7 +39,9 @@ class ContentArea extends StatelessWidget { } else { child = tab.content; } - + if (child != null) { + child = ExcludeFocus(excluding: !selectedTab, child: child); + } if (tab.keepAlive) { child = Offstage(offstage: !selectedTab, child: child); }