8000 上拉加载更多时多次拖动列表,加载完成后手指下滑时列表反向滚动 · Issue #656 · peng8350/flutter_pulltorefresh · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

上拉加载更多时多次拖动列表,加载完成后手指下滑时列表反向滚动 #656

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jingzhanwu opened this issue Mar 24, 2025 · 1 comment

Comments

@jingzhanwu
Copy link

设置 physics: const BouncingScrollPhysics(), 多次手指向上滑动后 页面出现缩放回弹效果,导致页面布局和字体反复放大回弹
如果设置为 physics: const ClampingScrollPhysics(),上拉加载时正常,但下拉刷新时会连续回弹两次,并且页面布局和字体也是出现放大回弹效果
SmartRefresher(
controller: model!.refreshController,
enablePullUp: true,
onRefresh: () => model.refresh(),
onLoading: () => model.loadMore(),
physics: const BouncingScrollPhysics(),
child: CustomScrollView(
slivers: [
SliverToBoxAdapter(child: _buildStoreAndDateRow()),
SliverToBoxAdapter(child: _buildHeadTotalView()),
_buildListView(model),
],
),
)

@qitaotao
Copy link
qitaotao commented Apr 3, 2025

RefreshConfiguration(
headerTriggerDistance: 80.0,
springDescription: const SpringDescription(
stiffness: 80,
damping: 16,
mass: 1.9,
),
maxOverScrollExtent: 80,
maxUnderScrollExtent: 0
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0