We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbafb0d commit ed51255Copy full SHA for ed51255
1 file changed
modules/ensemble/lib/layout/tab_bar.dart
@@ -286,9 +286,19 @@ class TabBarState extends BaseTabBarState {
286
// This means onLoad API may be called multiple times in debug mode
287
288
widget._controller.persistentTabBar
289
- ? Expanded(
290
- child: SingleChildScrollView(
291
- child: tabContent))
+ ? (isExpanded
+ ? Expanded(
+ child: Builder(
292
+ key: UniqueKey(),
293
+ builder: (BuildContext context) =>
294
+ SingleChildScrollView(child: buildSelectedTab()),
295
+ ),
296
+ )
297
+ : Builder(
298
299
300
301
+ ))
302
: tabContent,
303
304
// This cause Expanded child to fail
0 commit comments