fixed max scroll offset for sectioned lists with spacing
This commit is contained in:
parent
695f8de2a4
commit
1a50fcc65e
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ class _RenderSliverKnownExtentBoxAdaptor extends RenderSliverMultiBoxAdaptor {
|
||||||
if (child == null) {
|
if (child == null) {
|
||||||
// We have run out of children.
|
// We have run out of children.
|
||||||
final layout = sectionAtIndex(index) ?? sectionLayouts.last;
|
final layout = sectionAtIndex(index) ?? sectionLayouts.last;
|
||||||
estimatedMaxScrollOffset = layout.indexToLayoutOffset(index);
|
estimatedMaxScrollOffset = layout.maxOffset;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue