diff --git a/framework/components/scrollable.dart b/framework/components/scrollable.dart index 0bbe0e55c4e..dadcf775a67 100644 --- a/framework/components/scrollable.dart +++ b/framework/components/scrollable.dart @@ -69,11 +69,7 @@ abstract class Scrollable extends Component { _simulation = scrollBehavior.release(particle); if (_simulation == null) return; - _simulation.onTick.listen((_) { - setState(() { - _scrollOffset = particle.position; - }); - }); + _simulation.onTick.listen((_) => scrollTo(particle.position)); } Particle _createParticle([double velocity = 0.0]) {