We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b02e34 commit f0c9b74Copy full SHA for f0c9b74
1 file changed
lib/src/widgets/slidable.dart
@@ -829,11 +829,10 @@ class SlidableState extends State<Slidable>
829
830
@override
831
bool get wantKeepAlive =>
832
- _overallMoveController?.isAnimating == true ||
833
- _overallMoveController?.isCompleted == true ||
834
- _actionsMoveController?.isAnimating == true ||
835
- _actionsMoveController?.isCompleted == true ||
836
- _resizeController?.isAnimating == true;
+ !widget.closeOnScroll &&
+ (_overallMoveController?.isAnimating == true ||
+ _actionsMoveController?.isAnimating == true ||
+ _resizeController?.isAnimating == true);
837
838
/// The current actions that have to be shown.
839
SlideActionDelegate get actionDelegate =>
0 commit comments