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

Hotfix/fix issue 5135 #5398

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

johnsonwong666
Copy link
Collaborator

#5210 排查这个issue发现的问题,如果一开始有固定tab存在,其他的后续再异步加进来,是无法再触发resize。

@@ -131,7 131,7 @@ VantComponent({
scrollable:
this.children.length > data.swipeThreshold || !data.ellipsis,
});

this.resize();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个在考虑下,setCurrentIndex 中也会触发 resize 执行,不应该在这里直接触发 resize

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

Successfully merging this pull request may close these issues.

2 participants