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

小程序模式下useTabItemTap第一次点击tab时不会触发 #14170

Closed
SmallMoca opened this issue Jul 13, 2023 · 0 comments · Fixed by #14230
Closed

小程序模式下useTabItemTap第一次点击tab时不会触发 #14170

SmallMoca opened this issue Jul 13, 2023 · 0 comments · Fixed by #14230
Labels
F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x
Milestone

Comments

@SmallMoca
Copy link

SmallMoca commented Jul 13, 2023

相关平台

微信小程序

复现仓库

https://github.com/SmallMoca/taro-tabItemtab-bug.git
小程序基础库: 2.33.0
使用框架: React

复现步骤

进入小程序,点击当前页面之外的tab

期望结果

useTabItemTap的回调被执行

实际结果

useTabItemTap的回调没被执行

环境信息

👽 Taro v3.5.8


  Taro CLI 3.5.8 environment info:
    System:
      OS: Windows 10
    Binaries:
      Node: 14.20.1 - C:\Program Files\nodejs\node.EXE
      Yarn: 1.22.19 - ~\AppData\Local\pnpm\yarn.CMD
      npm: 6.14.17 - C:\Program Files\nodejs\npm.CMD

补充信息

使用原生小程序开发中,第一次点击tab 会触发 onTabItemTap 调用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants