Skip to content
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

实现列表滚动收起键盘时,第一次无法触发onLoad方法,再次滑动才会触发 #863

Open
islinjj opened this issue Sep 10, 2024 · 0 comments

Comments

@islinjj
Copy link

islinjj commented Sep 10, 2024

我想要实现列表滚动时收起键盘, 但是在收起键盘后第一次无法触发onLoading方法,再次滑动才会

EasyRefresh(
header: const CupertinoHeader(),
onRefresh: _onRefresh,
footer: const CupertinoFooter(
infiniteOffset: null,
),
onLoad: _onLoading,
controller: refreshController,
child: GestureDetector(
behavior: HitTestBehavior.translucent,
onPanDown: (
) => Utils.hideKeyboard(),
child: ListView(
children: ...,
),
),
)

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

1 participant