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配置初始选择项无效,下划线会自动闪烁到第一个 #44

Closed
1 task done
oneroundseven opened this issue Jun 29, 2018 · 1 comment
Closed
1 task done

Comments

@oneroundseven
Copy link

oneroundseven commented Jun 29, 2018

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

2.2.0

Environment

windows7 RN: 0.55.4

Reproduction link

https://github.com/ant-design/ant-design-mobile-rn

Steps to reproduce

<Tabs tabs={this.state.tabs}
page={2}
initialPage={2}
renderTabBar={props=> <Tabs.DefaultTabBar {...props} page={3} />}
onChange={(tab, index)=> this._change(tab, index)} />

What is expected?

选中第三个

What is actually happening?

文字选中了第三个 下划线闪动到第一个

@BANG88 BANG88 added the Bug🐛 label Oct 21, 2018
@BANG88 BANG88 added this to the Reborn - 3.0.0 milestone Dec 2, 2018
@BANG88
Copy link
Member

BANG88 commented Dec 3, 2018

#50

@BANG88 BANG88 closed this as completed Dec 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants