mirror of
https://github.com/immich-app/immich.git
synced 2025-07-09 03:04:16 -04:00
fix: scrubber scroll error when page is not long enough (#19809)
This commit is contained in:
parent
a87c2e82cd
commit
dd94ad17aa
@ -354,22 +354,24 @@ class ScrubberState extends ConsumerState<Scrubber>
|
|||||||
isDragging: _isDragging,
|
isDragging: _isDragging,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
PositionedDirectional(
|
if (_scrollController.hasClients &&
|
||||||
top: _thumbTopOffset + widget.topPadding,
|
_scrollController.position.maxScrollExtent > 0)
|
||||||
end: 0,
|
PositionedDirectional(
|
||||||
child: RepaintBoundary(
|
top: _thumbTopOffset + widget.topPadding,
|
||||||
child: GestureDetector(
|
end: 0,
|
||||||
onVerticalDragStart: _onDragStart,
|
child: RepaintBoundary(
|
||||||
onVerticalDragUpdate: _onDragUpdate,
|
child: GestureDetector(
|
||||||
onVerticalDragEnd: _onDragEnd,
|
onVerticalDragStart: _onDragStart,
|
||||||
child: _Scrubber(
|
onVerticalDragUpdate: _onDragUpdate,
|
||||||
thumbAnimation: _thumbAnimation,
|
onVerticalDragEnd: _onDragEnd,
|
||||||
labelAnimation: _labelAnimation,
|
child: _Scrubber(
|
||||||
label: label,
|
thumbAnimation: _thumbAnimation,
|
||||||
|
labelAnimation: _labelAnimation,
|
||||||
|
label: label,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user