We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
微信小程序
https://github.com/taroify/taro330-nexttick 小程序基础库: 2.19.2 使用框架: React
function NextTick() { usePageScroll(() => { console.log("usePageScroll") nextTick(() => console.log("usePageScroll nextTick")) }) return ( <View style={{height: "200vh"}}/> ); }
期望的结果是 weapp 和 h5 一样。
nextTick 在 usePageScroll 中执行
nextTick 在 usePageScroll 中不执行
� Taro v3.3.5 Taro CLI 3.3.5 environment info: System: OS: Windows 10 Binaries: Node: 14.17.1 - C:\Programs\nodejs\node-v14.17.1-win-x64\node.EXE Yarn: 1.22.11 - C:\Programs\nodejs\node\yarn.CMD npm: 6.14.13 - C:\Programs\nodejs\node-v14.17.1-win-x64\npm.CMD
The text was updated successfully, but these errors were encountered:
fix(mini): 修复 nextTick 没有触发的问题,fix #10179
540541d
8046530
Successfully merging a pull request may close this issue.
相关平台
微信小程序
复现仓库
https://github.com/taroify/taro330-nexttick
小程序基础库: 2.19.2
使用框架: React
复现步骤
nextTick 在微信小程序 usePageScroll 内不执行
H5 中的效果
weapp 中的效果
期望的结果是 weapp 和 h5 一样。
期望结果
nextTick 在 usePageScroll 中执行
实际结果
nextTick 在 usePageScroll 中不执行
环境信息
The text was updated successfully, but these errors were encountered: