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
showTabBarRedDot, setTabBarBadge设置后无反应,需要点击下tab才会生效 #8175
Projects
Milestone
Comments
taro-bot2
bot
added
F-react
Framework - React
T-h5
Target - 编译到 H5
V-3
Version - 3.x
labels
Dec 2, 2020
遇到了同样的问题 |
这个解决了吗,我使用h5上使用setTabBarItem方法直接报错了,{errMsg: "setTabBarItem:fail tabbar item not found"} |
遇到了这个问题,H5上设置后必须切换下页面才会生效 |
这个问题何时能修复? |
ZakaryCode
added a commit
that referenced
this issue
Nov 15, 2021
ZakaryCode
added a commit
that referenced
this issue
Nov 15, 2021
3 tasks
Chen-jj
pushed a commit
that referenced
this issue
Nov 22, 2021
Chen-jj
pushed a commit
that referenced
this issue
Nov 22, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
相关平台
H5
浏览器版本: 浏览器手机版本都有问题
使用框架: React
复现步骤
随便创建一个demo, 带有tab,手机浏览器谷歌,safari 都有问题,我看了源码应该是设置之后没有重绘,所以需要点击后才生效。还有H5调用 setTabBarItem, setTabBarStyle 时直接失败了,源码里packages/taro-h5/src/api/tabBar/index.js,中 tabConf没有值,这个需要什么处理? 文档没有相关说明
期望结果
设置正常显示,而不是点击tab
实际结果
设置后不生效,点击tab后生效
环境信息
The text was updated successfully, but these errors were encountered: