minor fix
This commit is contained in:
parent
208bf981fb
commit
268b064cdf
1 changed files with 2 additions and 0 deletions
|
@ -148,6 +148,8 @@ class _GridItemTrackerState<T> extends State<GridItemTracker<T>> with WidgetsBin
|
|||
}
|
||||
|
||||
void _onLayoutChange() {
|
||||
if (scrollController.positions.length != 1) return;
|
||||
|
||||
// do not track when view shows top edge
|
||||
if (scrollController.offset == 0) return;
|
||||
|
||||
|
|
Loading…
Reference in a new issue