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

van-tab line-width不会跟着标签切换移动 #3620

Closed
victor2016 opened this issue Sep 20, 2020 · 0 comments · Fixed by #3628
Closed

van-tab line-width不会跟着标签切换移动 #3620

victor2016 opened this issue Sep 20, 2020 · 0 comments · Fixed by #3628
Labels

Comments

@victor2016
Copy link

victor2016 commented Sep 20, 2020

你好,请使用下面的链接创建 issue 以帮助我们更快的排查问题,不规范的 issue 会被关闭,感谢配合。

http://vant-contrib.gitee.io/vant-issue-generater?repo=VantWeapp

使用van-tab的line-width渲染页面时,一旦我加上这个属性,tab切换的时候tab下的线不会跟着切换的标签移动

	<van-tabs active="{{ active }}" line-width="350rpx" animated color="#4885FF" bind:click="onTabClick">
		<van-tab title="待处理" name="todo">待处理</van-tab>
		<van-tab title="已处理" name="done">已处理</van-tab>
	</van-tabs>

WechatIMG3

rex-zsd pushed a commit to rex-zsd/vant-weapp that referenced this issue Sep 22, 2020
rex-zsd added a commit that referenced this issue Sep 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants