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

[Tabs选项卡] 在outlineType线条样式类型设置为TDTabBarOutlineType.card时,切换选项卡时底部两侧会一瞬间出现蓝色又消失的bug #334

Open
211277729 opened this issue Sep 27, 2024 · 3 comments

Comments

@211277729
Copy link

tdesign-flutter 版本

0.1.6

重现链接

No response

重现步骤

SizedBox(
height: 40,
child: TDTabBar(
labelColor: appColor.getAppMainColor(),
indicatorColor: appColor.getAppMainColor(),
outlineType: TDTabBarOutlineType.card,
tabs: const [
TDTab(
text: "文本",
),
TDTab(
text: "样式",
),
TDTab(
text: "对齐",
),
],
controller: _tabController,
showIndicator: true,
backgroundColor: Colors.white,
isScrollable: false,
),
)

期望结果

不显示颜色

实际结果

切换选项卡时底部两侧会一瞬间出现蓝色又消失的bug,类似切片的问题

Flutter版本

3.19.6

设备与机型信息

vivo xFold3 Pro

系统版本

Android14

补充说明

No response

Copy link
Contributor

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

@shizhe2018
Copy link
Contributor

将这个 indicatorColor属性设置 indicatorColor:Colors.transparent,

Copy link
Contributor

这个 Issue 被标记为了过时 stale ,因为它已经持续 30 天没有任何活动了。删除 stale 标签或评论,否则将在 7 天内关闭。

@github-actions github-actions bot added the Stale label Oct 29, 2024
@Luozf12345 Luozf12345 removed the Stale label Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants