revert back to hasScrollBody=false, though true can remember scroll
position, but it causes much more problems
This commit is contained in:
parent
fea9cfba7f
commit
977ac2a3b2
@ -388,7 +388,7 @@ class _PeerSortDropdownState extends State<PeerSortDropdown> {
|
|||||||
var menuPos = RelativeRect.fromLTRB(0, 0, 0, 0);
|
var menuPos = RelativeRect.fromLTRB(0, 0, 0, 0);
|
||||||
return InkWell(
|
return InkWell(
|
||||||
child: Icon(
|
child: Icon(
|
||||||
Icons.sort,
|
Icons.sort_rounded,
|
||||||
size: 18,
|
size: 18,
|
||||||
),
|
),
|
||||||
onTapDown: (details) {
|
onTapDown: (details) {
|
||||||
|
@ -134,7 +134,7 @@ class _ConnectionPageState extends State<ConnectionPage>
|
|||||||
Divider().paddingOnly(right: 12),
|
Divider().paddingOnly(right: 12),
|
||||||
])),
|
])),
|
||||||
SliverFillRemaining(
|
SliverFillRemaining(
|
||||||
hasScrollBody: true,
|
hasScrollBody: false,
|
||||||
child: PeerTabPage().paddingOnly(right: 12.0),
|
child: PeerTabPage().paddingOnly(right: 12.0),
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
@ -245,8 +245,6 @@ class _ConnectionPageState extends State<ConnectionPage>
|
|||||||
final em = 14.0;
|
final em = 14.0;
|
||||||
return Container(
|
return Container(
|
||||||
height: 3 * em,
|
height: 3 * em,
|
||||||
color: Theme.of(context)
|
|
||||||
.scaffoldBackgroundColor, // has to set this if using hasScrollBody in above silvers
|
|
||||||
child: Obx(() => Row(
|
child: Obx(() => Row(
|
||||||
crossAxisAlignment: CrossAxisAlignment.center,
|
crossAxisAlignment: CrossAxisAlignment.center,
|
||||||
children: [
|
children: [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user