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
@nutui/nutui-react
2.6.7
h5
https://codesandbox.io/p/devbox/jjtmm3?file=%2Fsrc%2FApp.jsx%3A16%2C23
初始设置一个数量少的数组,之后重新设置数量多的数组后,点击tab没有滚动。但点击超出屏幕的tab元素,会滚动回初始位置。不符合tab正常应该居中展示选中tab的效果。
动态设置tab数组,符合正常tab展示
动态设置tab数组,不符合正常tab展示
No response
The text was updated successfully, but these errors were encountered:
fix(tabs): 修复tabs异步设置titles滚动失效(jdf2e#2351)
85528ba
fix(tabs): 修复tabs异步设置titles滚动失效(#2351) (#2369)
327e639
No branches or pull requests
NutUI React 包名
@nutui/nutui-react
NutUI React 版本号
2.6.7
平台
h5
重现链接
https://codesandbox.io/p/devbox/jjtmm3?file=%2Fsrc%2FApp.jsx%3A16%2C23
重现步骤
初始设置一个数量少的数组,之后重新设置数量多的数组后,点击tab没有滚动。但点击超出屏幕的tab元素,会滚动回初始位置。不符合tab正常应该居中展示选中tab的效果。
期望的结果是什么?
动态设置tab数组,符合正常tab展示
实际的结果是什么?
动态设置tab数组,不符合正常tab展示
环境信息
No response
其他补充信息
No response
The text was updated successfully, but these errors were encountered: