react-native icon indicating copy to clipboard operation
react-native copied to clipboard

App crashes on clicking more option on TabBar iOS

Open venk-aw opened this issue 11 years ago • 8 comments

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 avatar Jul 28 '15 15:07 venk-aw

@venk-aw is this still happening for you with latest .11-rc? Can you supply a recreation on rnplay.org

browniefed avatar Sep 13 '15 18:09 browniefed

Closing until example provided because I don't think this still happens

brentvatne avatar Sep 14 '15 01:09 brentvatne

@brentvatne this is still happening.

alvaromb avatar Oct 05 '16 13:10 alvaromb

screen shot 2016-10-05 at 15 08 55

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.

alvaromb avatar Oct 05 '16 13:10 alvaromb

Not fixed yet, I use React Native 0.46.4

bangnguyensea avatar Jul 25 '17 13:07 bangnguyensea

I don't know if many people actually use TabBarIOS, perhaps it should be removed from core? cc @hramos

brentvatne avatar Jul 25 '17 19:07 brentvatne

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.

hramos avatar Jul 25 '17 21:07 hramos

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.

pull-bot avatar Oct 09 '17 17:10 pull-bot