mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
fix: scrubber scroll error when page is not long enough (#19809)
This commit is contained in:
parent
a87c2e82cd
commit
dd94ad17aa
1 changed files with 15 additions and 13 deletions
|
|
@ -354,6 +354,8 @@ class ScrubberState extends ConsumerState<Scrubber>
|
||||||
isDragging: _isDragging,
|
isDragging: _isDragging,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
if (_scrollController.hasClients &&
|
||||||
|
_scrollController.position.maxScrollExtent > 0)
|
||||||
PositionedDirectional(
|
PositionedDirectional(
|
||||||
top: _thumbTopOffset + widget.topPadding,
|
top: _thumbTopOffset + widget.topPadding,
|
||||||
end: 0,
|
end: 0,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue