mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
Appbar on homepage is fixed so the cursor won't be overlapping when scrolling
This commit is contained in:
parent
8d5626620b
commit
229357df2b
3 changed files with 36 additions and 28 deletions
|
|
@ -100,13 +100,23 @@ class HomePage extends HookConsumerWidget {
|
|||
top: !isMultiSelectEnable,
|
||||
child: Stack(
|
||||
children: [
|
||||
DraggableScrollbar.semicircle(
|
||||
backgroundColor: Theme.of(context).primaryColor,
|
||||
controller: _scrollController,
|
||||
heightScrollThumb: 48.0,
|
||||
child: CustomScrollView(
|
||||
CustomScrollView(
|
||||
slivers: [
|
||||
_buildSliverAppBar(),
|
||||
],
|
||||
),
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(top: 50.0),
|
||||
child: DraggableScrollbar.semicircle(
|
||||
backgroundColor: Theme.of(context).primaryColor,
|
||||
controller: _scrollController,
|
||||
slivers: [_buildSliverAppBar(), ..._imageGridGroup],
|
||||
heightScrollThumb: 48.0,
|
||||
child: CustomScrollView(
|
||||
controller: _scrollController,
|
||||
slivers: [
|
||||
..._imageGridGroup,
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
_buildSelectedItemCountIndicator(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue