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组件在动态tab时,下标红线异常 #3676

Closed
Unximarks opened this issue Oct 15, 2020 · 5 comments · Fixed by #3827
Closed

tabs组件在动态tab时,下标红线异常 #3676

Unximarks opened this issue Oct 15, 2020 · 5 comments · Fixed by #3827

Comments

@Unximarks
Copy link

image

vant webapp 所有版本都试过都有问题,基础库2.12.2。

@Unximarks
Copy link
Author

异常主要不是长度,而是位置不会跑到第一个去,点击后会变正常

@a2774206
Copy link

异常主要不是长度,而是位置不会跑到第一个去,点击后会变正常

是不是开启吸顶了。而且没有滚动条。

@Unximarks
Copy link
Author

异常主要不是长度,而是位置不会跑到第一个去,点击后会变正常

是不是开启吸顶了。而且没有滚动条。

没有开吸顶,就是很正常的界面出现时调用一个接口去获取tab数据,然后下划线就那样,这么普通的需求不会就我遇见了吧

@Unximarks
Copy link
Author

特地回去试了下,0.x版本是没问题,1.x版本在tabs的数据动态改一下的话下划线会出现异常

@rex-zsd
Copy link
Collaborator

rex-zsd commented Dec 9, 2020

下版本将会新增导出 resize 方法,使动态的场景下外部可以通过手动调用的方式设置下划线。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants