fix: tab, disable dragging (#8228)
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
parent
bd7790c1eb
commit
df36580451
@ -921,7 +921,7 @@ class _ListView extends StatelessWidget {
|
||||
final label = labelGetter == null
|
||||
? Rx<String>(tab.label)
|
||||
: labelGetter!(tab.label);
|
||||
return VisibilityDetector(
|
||||
final child = VisibilityDetector(
|
||||
key: ValueKey(tab.key),
|
||||
onVisibilityChanged: onVisibilityChanged,
|
||||
child: _Tab(
|
||||
@ -954,6 +954,10 @@ class _ListView extends StatelessWidget {
|
||||
selectedBorderColor: selectedBorderColor,
|
||||
),
|
||||
);
|
||||
return GestureDetector(
|
||||
onPanStart: (e) {},
|
||||
child: child,
|
||||
);
|
||||
}).toList()));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user