{"action":"created","issue":{"url":"https://api.github.com/repos/wix/react-native-navigation/issues/2768","repository_url":"https://api.github.com/repos/wix/react-native-navigation","labels_url":"https://api.github.com/repos/wix/react-native-navigation/issues/2768/labels{/name}","comments_url":"https://api.github.com/repos/wix/react-native-navigation/issues/2768/comments","events_url":"https://api.github.com/repos/wix/react-native-navigation/issues/2768/events","html_url":"https://github.com/wix/react-native-navigation/issues/2768","id":299174130,"number":2768,"title":"iOS 8: custom rightButton position wrong during push animation","user":{"login":"nbolender","id":4635368,"avatar_url":"https://avatars2.githubusercontent.com/u/4635368?v=4","gravatar_id":"","url":"https://api.github.com/users/nbolender","html_url":"https://github.com/nbolender","followers_url":"https://api.github.com/users/nbolender/followers","following_url":"https://api.github.com/users/nbolender/following{/other_user}","gists_url":"https://api.github.com/users/nbolender/gists{/gist_id}","starred_url":"https://api.github.com/users/nbolender/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nbolender/subscriptions","organizations_url":"https://api.github.com/users/nbolender/orgs","repos_url":"https://api.github.com/users/nbolender/repos","events_url":"https://api.github.com/users/nbolender/events{/privacy}","received_events_url":"https://api.github.com/users/nbolender/received_events","type":"User","site_admin":false},"labels":[{"id":830852932,"url":"https://api.github.com/repos/wix/react-native-navigation/labels/Community%20responsibility","name":"Community responsibility","color":"fbc9ff","default":false},{"id":534815686,"url":"https://api.github.com/repos/wix/react-native-navigation/labels/iOS","name":"iOS","color":"c2e0c6","default":false},{"id":828174913,"url":"https://api.github.com/repos/wix/react-native-navigation/labels/v1","name":"v1","color":"2cd6a0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-21T23:57:35Z","updated_at":"2018-02-27T06:52:53Z","closed_at":null,"author_association":"NONE","body":"### Issue Description\r\n\r\nOn iOS 8, when using a custom rightButton, the button initially appears on the left when pushing the screen. That is, it appears on the left until the push animation is complete, then it resets to the correct position.\r\n\r\nThis issue does not occur when popping the view or on iOS 11.\r\n\r\n## iOS 8.4\r\n![iOS 8.4](https://imgur.com/BoGau5u.gif)\r\n\r\n## iOS 11.2\r\n![iOS 11.2](https://imgur.com/cce4Sy7.gif)\r\n\r\n### Steps to Reproduce / Code Snippets / Screenshots\r\n\r\n```js\r\nexport default class SignUpScreen extends BaseScreen {\r\n\tloginButtonPressed = () => {\r\n\t\tthis.props.navigator.push({\r\n\t\t\tscreen: 'LoginScreen',\r\n\t\t\ttitle: \"Log In\",\r\n\t\t\tbackButtonTitle: \"Back\"\r\n\t\t});\r\n\t}\r\n}\r\n\r\nexport default class LoginScreen extends BaseScreen {\r\n\tstatic navigatorButtons = {\r\n\t\trightButtons: [\r\n\t\t\t{\r\n\t\t\t\tcomponent: 'Button',\r\n\t\t\t\tpassProps: {\r\n\t\t\t\t\ttext: \"Cancel2\"\r\n\t\t\t\t},\r\n\t\t\t}\r\n\t\t]\r\n\t}\r\n}\r\n```\r\n\r\n---\r\n### Environment\r\n* React Native Navigation version: 1.1.384\r\n* React Native version: 0.52.2\r\n* Platform(s) (iOS, Android, or both?): iOS\r\n* Device info (Simulator/Device? OS version? Debug/Release?): Simulator / iOS 8.4 / Debug\r\n"},"comment":{"url":"https://api.github.com/repos/wix/react-native-navigation/issues/comments/368765969","html_url":"https://github.com/wix/react-native-navigation/issues/2768#issuecomment-368765969","issue_url":"https://api.github.com/repos/wix/react-native-navigation/issues/2768","id":368765969,"user":{"login":"KarolAltamirano","id":8361660,"avatar_url":"https://avatars2.githubusercontent.com/u/8361660?v=4","gravatar_id":"","url":"https://api.github.com/users/KarolAltamirano","html_url":"https://github.com/KarolAltamirano","followers_url":"https://api.github.com/users/KarolAltamirano/followers","following_url":"https://api.github.com/users/KarolAltamirano/following{/other_user}","gists_url":"https://api.github.com/users/KarolAltamirano/gists{/gist_id}","starred_url":"https://api.github.com/users/KarolAltamirano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KarolAltamirano/subscriptions","organizations_url":"https://api.github.com/users/KarolAltamirano/orgs","repos_url":"https://api.github.com/users/KarolAltamirano/repos","events_url":"https://api.github.com/users/KarolAltamirano/events{/privacy}","received_events_url":"https://api.github.com/users/KarolAltamirano/received_events","type":"User","site_admin":false},"created_at":"2018-02-27T06:52:52Z","updated_at":"2018-02-27T06:52:52Z","author_association":"NONE","body":"For me, the issue is also present in iOS 9.3 and iOS 10.3.1 simulators."}}
{"actor":{"display_login":"KarolAltamirano"}}