Skip to content

Conversation

@ycherniavskyi
Copy link
Contributor

PR Checklist

What is the current behavior?

Currently, TabStrip items event emitting only when user click on UITabBar within processing tabBarControllerDidSelectViewController handler method of UITabBarControllerDelegate class. That is why when selectedIndex property changed programmatically TabStrip styling messed up.

What is the new behavior?

Current fix, just move TabStrip items event emitting into onSelectedIndexChanged handler, which called on processing tabBarControllerDidSelectViewController handler method (within _onViewControllerShown method) and on processing selectedIndex property changed programmatically.

Fixes/Implements/Closes #7667.

@cla-bot cla-bot bot added the cla: yes label Dec 3, 2019
@ycherniavskyi
Copy link
Contributor Author

ycherniavskyi commented Dec 9, 2019

@MartoYankov I see that you supervise the TabView component developing, maybe you could check this small PR, which fix really annoying for iOS developer issue.
(It will be great if it could pass to NS 6.3 release 😊.)

@vakrilov
Copy link
Contributor

Hi @ycherniavskyi
We were busy preparing the 6.3 release and this will probably won't make it in as we are already in a code-freeze phase.
However, it is a patch so we can probably release it as a patch (6.3.x) when it gets merged.

@ycherniavskyi
Copy link
Contributor Author

@vakrilov thank you for clarification, so I am waiting for the 6.3 patch release.

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 this pull request may close these issues.

[BottomNav][iOS] Changing tabs programatically messes up styles

4 participants