opt scrollPhysics

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-02-22 20:45:06 +08:00
parent 998b70cd87
commit ee188da6b0

View File

@@ -547,7 +547,10 @@ class RefreshIndicatorState extends State<RefreshIndicator>
return ScrollConfiguration(
behavior: RefreshScrollBehavior(
desktopDragDevices,
scrollPhysics: RefreshScrollPhysics(onDrag: _onDrag),
scrollPhysics: RefreshScrollPhysics(
parent: const RangeMaintainingScrollPhysics(),
onDrag: _onDrag,
),
),
child: child,
);