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 · 2 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,

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

2 participants