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

【sticky】初始化时使用wx:if=false时,混入的pageScrollMixin滚动函数无效,除非组件所在页面定义了onPageScroll方法 #2321

Open
Markniconico opened this issue Aug 25, 2023 · 3 comments

Comments

@Markniconico
Copy link

tdesign-miniprogram 版本

1.1.14

重现链接

No response

重现步骤

wxml

<t-sticky wx:if="{{show}}"></sticky>

js

settimeout(()=>{ this.setData({show:true}); },0)

期望结果

No response

实际结果

pageScrollMixin 内不执行

基础库版本

No response

补充说明

No response

@github-actions
Copy link
Contributor

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

@Markniconico
Copy link
Author

大佬有没有什么办法解决这个问题

@LeeJim
Copy link
Collaborator

LeeJim commented Sep 14, 2023

我看下

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