{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/8093","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/8093/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/8093/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/8093/events","html_url":"https://github.com/facebook/react-native/issues/8093","id":159978609,"number":8093,"title":"MapView annotation focus triggers TabBarIOS.Item onPress()","user":{"login":"stanlemon","id":86314,"avatar_url":"https://avatars.githubusercontent.com/u/86314?v=3","gravatar_id":"","url":"https://api.github.com/users/stanlemon","html_url":"https://github.com/stanlemon","followers_url":"https://api.github.com/users/stanlemon/followers","following_url":"https://api.github.com/users/stanlemon/following{/other_user}","gists_url":"https://api.github.com/users/stanlemon/gists{/gist_id}","starred_url":"https://api.github.com/users/stanlemon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stanlemon/subscriptions","organizations_url":"https://api.github.com/users/stanlemon/orgs","repos_url":"https://api.github.com/users/stanlemon/repos","events_url":"https://api.github.com/users/stanlemon/events{/privacy}","received_events_url":"https://api.github.com/users/stanlemon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/react-native/labels/Ran%20Commands","name":"Ran Commands","color":"ededed"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-06-13T15:30:15Z","updated_at":"2016-08-07T13:28:31Z","closed_at":null,"body":"When I have a MapView inside of a TabBarIOS.Item I am seeing that the selection of an annotation triggers the TabBarIOS.Item's onPress() event (as if the TabBar button was pressed), which does not seem to make sense.  This can be problematic if if the TabBar's onPress event does additional work that should not be fired during annotation selection.\r\n\r\nIn order to demonstrate what I am seeing and reproduce I created this rnplay: https://rnplay.org/apps/rcn5cg\r\n\r\nIf you follow the console you will see that before the onFocs() event on the annotation is called the TabBar's onPress() event is fired."},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/238082365","html_url":"https://github.com/facebook/react-native/issues/8093#issuecomment-238082365","issue_url":"https://api.github.com/repos/facebook/react-native/issues/8093","id":238082365,"user":{"login":"facebook-github-bot-7","id":8397364,"avatar_url":"https://avatars.githubusercontent.com/u/8397364?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook-github-bot-7","html_url":"https://github.com/facebook-github-bot-7","followers_url":"https://api.github.com/users/facebook-github-bot-7/followers","following_url":"https://api.github.com/users/facebook-github-bot-7/following{/other_user}","gists_url":"https://api.github.com/users/facebook-github-bot-7/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook-github-bot-7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook-github-bot-7/subscriptions","organizations_url":"https://api.github.com/users/facebook-github-bot-7/orgs","repos_url":"https://api.github.com/users/facebook-github-bot-7/repos","events_url":"https://api.github.com/users/facebook-github-bot-7/events{/privacy}","received_events_url":"https://api.github.com/users/facebook-github-bot-7/received_events","type":"User","site_admin":false},"created_at":"2016-08-07T13:28:31Z","updated_at":"2016-08-07T13:28:31Z","body":"Hey @stanlemon, we're a small team and rely on the community to fix issues that don't affect fb apps. If you're sure this is a bug can you send a pull request with a fix?"}}
{"actor":{"display_login":"facebook-github-bot-7"}}