Skip to content

[Tabs] 设置animation后切换tab无法显示panel内容 #3630

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

Open
brakchen opened this issue May 2, 2025 · 2 comments
Open

[Tabs] 设置animation后切换tab无法显示panel内容 #3630

brakchen opened this issue May 2, 2025 · 2 comments
Labels
question This is a question, not a bug

Comments

@brakchen
Copy link

brakchen commented May 2, 2025

tdesign-miniprogram 版本

1.8.7

重现链接

No response

重现步骤

按文档引入Tabs组件,带内容区选项卡 的代码,点击或左滑切换页签,除第一个页签外,其它页签内容都无法显示。

Image

删除 animation 后恢复正常:

Image

期望结果

添加animation属性后,切换页签后对应panel能正常显示内容。

实际结果

按文档引入Tabs组件,带内容区选项卡 的代码,点击或左滑切换页签,除第一个页签外,其它页签内容都无法显示。

基础库版本

3.8.2

补充说明

删除animation 的解决方案来源这个 issue :#1815

Copy link
Contributor

github-actions bot commented May 2, 2025

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

@anlyyao
Copy link
Collaborator

anlyyao commented May 7, 2025

@brakchen 1.8.7和最新版中均未能复现,辛苦先试下这个代码片段 https://developers.weixin.qq.com/s/cwXWGXmb78ZB

@anlyyao anlyyao added the question This is a question, not a bug label May 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question This is a question, not a bug
Projects
None yet
Development

No branches or pull requests

2 participants