diff --git a/lib/pages/common/common_page.dart b/lib/pages/common/common_page.dart index 5570e63ff..c5f3ba4f0 100644 --- a/lib/pages/common/common_page.dart +++ b/lib/pages/common/common_page.dart @@ -80,13 +80,13 @@ abstract class CommonPageState extends State { 0.0, StyleString.topBarHeight, ); - final offset = newValue - value; + final offset = value - newValue; if (offset != 0) { _barOffset!.value = newValue; if (pixel < 0.0 && scrollDelta < 0.0 && value > 0.0) { return false; } - Scrollable.of(notification.context!).position.correctBy(-offset); + Scrollable.of(notification.context!).position.correctBy(offset); } } else { _updateOffset(scrollDelta);