mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-24 11:06:51 +08:00
opt anim to top
opt refresh Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -138,9 +138,6 @@ class _MediaListPanelState
|
||||
widget.onDelete != null && widget.mediaList.length > 1;
|
||||
return ScrollablePositionedList.separated(
|
||||
itemScrollController: _scrollController,
|
||||
// physics: const PositionRetainedScrollPhysics(
|
||||
// parent: ClampingScrollPhysics(),
|
||||
// ),
|
||||
physics: const AlwaysScrollableScrollPhysics(),
|
||||
itemCount: widget.mediaList.length,
|
||||
padding: EdgeInsets.only(
|
||||
|
||||
@@ -92,10 +92,7 @@ class _HorizontalMemberPageState extends State<HorizontalMemberPage> {
|
||||
onRefresh: _controller.onRefresh,
|
||||
child: CustomScrollView(
|
||||
controller: _controller.scrollController,
|
||||
// physics: PositionRetainedScrollPhysics(
|
||||
// shouldRetain: _controller.hasPrev,
|
||||
// parent: const ClampingScrollPhysics(),
|
||||
// ),
|
||||
physics: const AlwaysScrollableScrollPhysics(),
|
||||
slivers: [
|
||||
_buildSliverHeader(theme),
|
||||
Obx(() =>
|
||||
|
||||
Reference in New Issue
Block a user