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

[PullDownRefresh] 页面滚动事件传递到组件 #630

Closed
ws2003gq opened this issue Jul 18, 2022 · 3 comments · Fixed by #641
Closed

[PullDownRefresh] 页面滚动事件传递到组件 #630

ws2003gq opened this issue Jul 18, 2022 · 3 comments · Fixed by #641
Assignees

Comments

@ws2003gq
Copy link

ws2003gq commented Jul 18, 2022

tdesign-miniprogram 版本

0.15.1

重现链接

No response

重现步骤

           this.pullDownRefresh0 && this.pullDownRefresh0.onPageScroll(e);抛错

期望结果

No response

实际结果

No response

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

自己试了一下如何解决。
增加 bindscrolltolower="onScrollToBottom"

        onScrollToBottom() {
          this.triggerEvent('scrolltolower');
        },

这样就可以在page里面去监听 scroll-view的触底事件。完成下拉分页,求采纳或者有更好的办法
No response

@github-actions
Copy link
Contributor

👋 @ws2003gq,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@github-actions
Copy link
Contributor

github-actions bot commented Jul 18, 2022

♥️ 有劳 @GAOGAO1994 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @ws2003gq

@LeeJim LeeJim self-assigned this Jul 19, 2022
@LeeJim
Copy link
Collaborator

LeeJim commented Jul 20, 2022

既然已经阅读了源码,也给出了方案,可以直接给我们贡献 PR 的哦。我们这边再进行 Code Review

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