{"action":"created","issue":{"url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/1094","repository_url":"https://api.github.com/repos/aksonov/react-native-router-flux","labels_url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/1094/labels{/name}","comments_url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/1094/comments","events_url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/1094/events","html_url":"https://github.com/aksonov/react-native-router-flux/pull/1094","id":172657835,"number":1094,"title":"Allow to force parent tabs to hide when child tabs is added","user":{"login":"fkoester","id":1298987,"avatar_url":"https://avatars.githubusercontent.com/u/1298987?v=3","gravatar_id":"","url":"https://api.github.com/users/fkoester","html_url":"https://github.com/fkoester","followers_url":"https://api.github.com/users/fkoester/followers","following_url":"https://api.github.com/users/fkoester/following{/other_user}","gists_url":"https://api.github.com/users/fkoester/gists{/gist_id}","starred_url":"https://api.github.com/users/fkoester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fkoester/subscriptions","organizations_url":"https://api.github.com/users/fkoester/orgs","repos_url":"https://api.github.com/users/fkoester/repos","events_url":"https://api.github.com/users/fkoester/events{/privacy}","received_events_url":"https://api.github.com/users/fkoester/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-23T09:55:53Z","updated_at":"2016-09-02T13:48:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/aksonov/react-native-router-flux/pulls/1094","html_url":"https://github.com/aksonov/react-native-router-flux/pull/1094","diff_url":"https://github.com/aksonov/react-native-router-flux/pull/1094.diff","patch_url":"https://github.com/aksonov/react-native-router-flux/pull/1094.patch"},"body":"I have a scenario where I need to go from one tab to another `tabs` scene using push (so the user can also  go back).\r\n\r\nIf you have a scenario like that, I can imagine two desired behaviors:\r\n\r\n1. Both tabbars are displayed among each other (Is quite uncommon though). This way you can always switch tabs on both levels.\r\n2. As soon as the child tabbar is displayed, the parent tabbar is hidden so you always have only one tabbar.\r\n\r\nMy proposed solution is therefore to introduce another flag I called `hideOnChildTabs`, which - when set to `true` on the parent `tabs` scene -  causes the second behavior. Otherwise the first behavior is used and you have to manually take care of setting your stylesheets so that they are displayed properly on the same screen.\r\n\r\nWithout this patch, I experienced that the parent tabbar always covered the children's tabbar, which can never be the intended behavior.\r\n\r\nI created a little project demonstrating the situation [here](https://github.com/fkoester/react-native-router-flux-nested-tabs)."},"comment":{"url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/comments/244379741","html_url":"https://github.com/aksonov/react-native-router-flux/pull/1094#issuecomment-244379741","issue_url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/1094","id":244379741,"user":{"login":"aksonov","id":1321329,"avatar_url":"https://avatars.githubusercontent.com/u/1321329?v=3","gravatar_id":"","url":"https://api.github.com/users/aksonov","html_url":"https://github.com/aksonov","followers_url":"https://api.github.com/users/aksonov/followers","following_url":"https://api.github.com/users/aksonov/following{/other_user}","gists_url":"https://api.github.com/users/aksonov/gists{/gist_id}","starred_url":"https://api.github.com/users/aksonov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aksonov/subscriptions","organizations_url":"https://api.github.com/users/aksonov/orgs","repos_url":"https://api.github.com/users/aksonov/repos","events_url":"https://api.github.com/users/aksonov/events{/privacy}","received_events_url":"https://api.github.com/users/aksonov/received_events","type":"User","site_admin":false},"created_at":"2016-09-02T13:48:43Z","updated_at":"2016-09-02T13:48:43Z","body":"Could you please solve conflicts? Thanks "}}
{"actor":{"display_login":"aksonov"}}