App crashes on clicking more option on TabBar iOS
When you have too many items in a TabBar, app gives you the option of 'more'. But when you click on that one, app crashes.
Found that the index for that 'more' TabBar item is out of index. This is happening in RCTTabBar.m in TabBar Controller Delegate method.
@venk-aw is this still happening for you with latest .11-rc? Can you supply a recreation on rnplay.org
Closing until example provided because I don't think this still happens
@brentvatne this is still happening.
Here you have an screenshot of the error happening under v0.33. If I find some time I'll dig into the issue and see if I can send a PR.
Not fixed yet, I use React Native 0.46.4
I don't know if many people actually use TabBarIOS, perhaps it should be removed from core? cc @hramos
Ah, I'm a big fan of TabBarIOS and TabBarIOS.Item for iOS-only apps, as it renders a native UITabBar. That said, it's not ideal for use in React Native apps due to its imperative APIs.
From what I can tell, it's not used internally at Facebook, however. This seems like a good candidate for removing from core.
Hi there! This issue is being closed because it has been inactive for a while. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. Either way, we're automatically closing issues after a period of inactivity. Please do not take it personally!
If you think this issue should definitely remain open, please let us know. The following information is helpful when it comes to determining if the issue should be re-opened:
- Does the issue still reproduce on the latest release candidate? Post a comment with the version you tested.
- If so, is there any information missing from the bug report? Post a comment with all the information required by the issue template.
- Is there a pull request that addresses this issue? Post a comment with the PR number so we can follow up.
If you would like to work on a patch to fix the issue, contributions are very welcome! Read through the contribution guide, and feel free to hop into #react-native if you need help planning your contribution.