{"action":"opened","issue":{"url":"https://api.github.com/repos/henrychavez/nativescript-bottom-navigation/issues/35","repository_url":"https://api.github.com/repos/henrychavez/nativescript-bottom-navigation","labels_url":"https://api.github.com/repos/henrychavez/nativescript-bottom-navigation/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/henrychavez/nativescript-bottom-navigation/issues/35/comments","events_url":"https://api.github.com/repos/henrychavez/nativescript-bottom-navigation/issues/35/events","html_url":"https://github.com/henrychavez/nativescript-bottom-navigation/issues/35","id":365565447,"node_id":"MDU6SXNzdWUzNjU1NjU0NDc=","number":35,"title":"tabSelected and tabPressed events not fired on iOS.","user":{"login":"brunoziie","id":764339,"node_id":"MDQ6VXNlcjc2NDMzOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/764339?v=4","gravatar_id":"","url":"https://api.github.com/users/brunoziie","html_url":"https://github.com/brunoziie","followers_url":"https://api.github.com/users/brunoziie/followers","following_url":"https://api.github.com/users/brunoziie/following{/other_user}","gists_url":"https://api.github.com/users/brunoziie/gists{/gist_id}","starred_url":"https://api.github.com/users/brunoziie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brunoziie/subscriptions","organizations_url":"https://api.github.com/users/brunoziie/orgs","repos_url":"https://api.github.com/users/brunoziie/repos","events_url":"https://api.github.com/users/brunoziie/events{/privacy}","received_events_url":"https://api.github.com/users/brunoziie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-01T17:33:29Z","updated_at":"2018-10-01T17:33:29Z","closed_at":null,"author_association":"NONE","body":"Using example code tabSelected and tabPressed events not fired on iOS.\r\nThe icon changes, but no event.\r\n\r\n```js\r\n\r\nexport function bottomNavigationLoaded(args) {\r\n    const bottomNavigation: BottomNavigation = args.object;\r\n    bottomNavigation.on('tabSelected', tabSelected);\r\n    bottomNavigation.on('tabPressed', tabSelected);\r\n}\r\n\r\nexport function tabSelected(args: OnTabSelectedEventData) {\r\n    console.log('tabSelected::'+ args.newIndex);\r\n}\r\n```\r\n\r\n```xml\r\n<bottomNav:BottomNavigation\r\n    id=\"nav\"\r\n    activeColor=\"#FF8000\"\r\n    inactiveColor=\"#BECBD2\"\r\n    backgroundColor=\"#FFFFFF\"\r\n    loaded=\"bottomNavigationLoaded\"\r\n>\r\n    <bottomNav:BottomNavigationTab icon=\"home\"></bottomNav:BottomNavigationTab>\r\n    <bottomNav:BottomNavigationTab icon=\"immunotherapy\"></bottomNav:BottomNavigationTab>\r\n    <bottomNav:BottomNavigationTab icon=\"calendar\"></bottomNav:BottomNavigationTab>\r\n    <bottomNav:BottomNavigationTab icon=\"notification\"></bottomNav:BottomNavigationTab>\r\n    <bottomNav:BottomNavigationTab icon=\"perfil\"></bottomNav:BottomNavigationTab>\r\n</bottomNav:BottomNavigation>\r\n```\r\n\r\n**tns --version:** \r\n4.2.1\r\n\r\n**/usr/bin/xcodebuild -version:**\r\nXcode 10.0\r\nBuild version 10A255\r\n\r\n**nativescript-bottom-navigation@^1.4.0**\r\n**tns-core-modules@^4.2.1**"}}
{"actor":{"display_login":"brunoziie"}}