Skip to content

High performance self-hosted photo and video management solution.

fix: do not handle drag without enough scrub area (#28921)

shenlonge222b195767d
diff --git a/mobile/lib/presentation/widgets/timeline/scrubber.widget.dart b/mobile/lib/presentation/widgets/timeline/scrubber.widget.dart
index 5eda237ec4..27f523a2a8 100644
--- a/mobile/lib/presentation/widgets/timeline/scrubber.widget.dart
+++ b/mobile/lib/presentation/widgets/timeline/scrubber.widget.dart
@@ -221,6 +221,10 @@ class ScrubberState extends ConsumerState<Scrubber> with TickerProviderStateMixi
return;
}
+ if (_scrubberHeight <= 0) {
+ return;
+ }
+
if (_thumbAnimationController.status != AnimationStatus.forward) {
_thumbAnimationController.forward();
}