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

TabBarController - bug on selecting tabs programmatically #833

Closed
melcug opened this issue Aug 10, 2017 · 2 comments
Closed

TabBarController - bug on selecting tabs programmatically #833

melcug opened this issue Aug 10, 2017 · 2 comments
Assignees

Comments

@melcug
Copy link

melcug commented Aug 10, 2017

simulator screen shot aug 10 2017 13 10 03 1

I use following code the select second tab from TabBar:
navigationDrawerController?.rootViewController.tabsController?.tabBar.select(at: 1)

As you can see, the result is incomplete: the tab is selected, but associated view is not shown and previous view is still visible.

Regards,
Gogu.

@melcug melcug changed the title TabBarController - selecting tabs programmatically bug TabBarController - bug on selecting tabs programmatically Aug 10, 2017
@daniel-jonathan daniel-jonathan self-assigned this Aug 11, 2017
@daniel-jonathan
Copy link
Member

You can write this now with the latest Material 2.9.* version.

tabsController?.tabBar.select(at: 1)

and the select feature has not yet been implemented. I will make that update most likely tomorrow. Thank you!

@daniel-jonathan
Copy link
Member

You can now find a fix for this in Material 2.10.1.

Use:

tabsController?.select(at: 1)

Thank you!

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

No branches or pull requests

2 participants