Index: sky/framework/components/fixed_height_scrollable.dart |
diff --git a/sky/framework/components/fixed_height_scrollable.dart b/sky/framework/components/fixed_height_scrollable.dart |
index 2838acbfa6a230bf32d0549c7c123b92ac17c023..e54ebafa2a9c4561a215b87ace49c33da2f55e68 100644 |
--- a/sky/framework/components/fixed_height_scrollable.dart |
+++ b/sky/framework/components/fixed_height_scrollable.dart |
@@ -77,7 +77,7 @@ abstract class FixedHeightScrollable extends Scrollable { |
transformStyle = |
'transform: translateY(${(-scrollOffset).toStringAsFixed(2)}px)'; |
} else { |
- drawCount = (_height / _itemHeight).round() + 1; |
+ drawCount = (_height / _itemHeight).ceil() + 1; |
double alignmentDelta = -scrollOffset % _itemHeight; |
if (alignmentDelta != 0.0) |
alignmentDelta -= _itemHeight; |