{"action":"created","issue":{"url":"https://api.github.com/repos/wix/react-native-navigation/issues/3869","repository_url":"https://api.github.com/repos/wix/react-native-navigation","labels_url":"https://api.github.com/repos/wix/react-native-navigation/issues/3869/labels{/name}","comments_url":"https://api.github.com/repos/wix/react-native-navigation/issues/3869/comments","events_url":"https://api.github.com/repos/wix/react-native-navigation/issues/3869/events","html_url":"https://github.com/wix/react-native-navigation/issues/3869","id":354694091,"node_id":"MDU6SXNzdWUzNTQ2OTQwOTE=","number":3869,"title":"How to change screen transition (slide) left to right instead of right to left ","user":{"login":"marzieh-kazemi","id":41323375,"node_id":"MDQ6VXNlcjQxMzIzMzc1","avatar_url":"https://avatars0.githubusercontent.com/u/41323375?v=4","gravatar_id":"","url":"https://api.github.com/users/marzieh-kazemi","html_url":"https://github.com/marzieh-kazemi","followers_url":"https://api.github.com/users/marzieh-kazemi/followers","following_url":"https://api.github.com/users/marzieh-kazemi/following{/other_user}","gists_url":"https://api.github.com/users/marzieh-kazemi/gists{/gist_id}","starred_url":"https://api.github.com/users/marzieh-kazemi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marzieh-kazemi/subscriptions","organizations_url":"https://api.github.com/users/marzieh-kazemi/orgs","repos_url":"https://api.github.com/users/marzieh-kazemi/repos","events_url":"https://api.github.com/users/marzieh-kazemi/events{/privacy}","received_events_url":"https://api.github.com/users/marzieh-kazemi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-28T11:47:03Z","updated_at":"2018-09-04T07:40:05Z","closed_at":null,"author_association":"NONE","body":"<!--\r\n  Please post questions in Stack Overflow under the react-native-navigation tag\r\n  https://stackoverflow.com/questions/tagged/react-native-navigation\r\n-->\r\n\r\n### Issue Description\r\n\r\nI would like to have different transition, slide left to right instead of default behaviour (slide right to left) to open the screen. I have already searched a lot and read also documentation but there is no easy way to only change the default behaviour (change animation direction).\r\n\r\n---\r\n### Environment\r\n* React Native Navigation version: ^2.0.2418\r\n* React Native version: 0.55.4\r\n* Platform(s) (iOS, Android, or both?): iOS\r\n* Device info (Simulator/Device? OS version? Debug/Release?): Simulator/Device Version 10.0\r\n"},"comment":{"url":"https://api.github.com/repos/wix/react-native-navigation/issues/comments/418271507","html_url":"https://github.com/wix/react-native-navigation/issues/3869#issuecomment-418271507","issue_url":"https://api.github.com/repos/wix/react-native-navigation/issues/3869","id":418271507,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODI3MTUwNw==","user":{"login":"iksent","id":32956521,"node_id":"MDQ6VXNlcjMyOTU2NTIx","avatar_url":"https://avatars3.githubusercontent.com/u/32956521?v=4","gravatar_id":"","url":"https://api.github.com/users/iksent","html_url":"https://github.com/iksent","followers_url":"https://api.github.com/users/iksent/followers","following_url":"https://api.github.com/users/iksent/following{/other_user}","gists_url":"https://api.github.com/users/iksent/gists{/gist_id}","starred_url":"https://api.github.com/users/iksent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iksent/subscriptions","organizations_url":"https://api.github.com/users/iksent/orgs","repos_url":"https://api.github.com/users/iksent/repos","events_url":"https://api.github.com/users/iksent/events{/privacy}","received_events_url":"https://api.github.com/users/iksent/received_events","type":"User","site_admin":false},"created_at":"2018-09-04T07:40:05Z","updated_at":"2018-09-04T07:40:05Z","author_association":"NONE","body":"@marzieh-kazemi, Hello. Please try:\r\n```\r\n    Navigation.setDefaultOptions({\r\n            push: {\r\n                content: {\r\n                    x: {\r\n                        from: -1000,\r\n                        to: 0,\r\n                        duration: 300,\r\n                    },\r\n                    alpha: { // Optional\r\n                        from: 0.5,\r\n                        to: 1,\r\n                        duration: 300,\r\n                    }\r\n                }\r\n            },\r\n     });\r\n```\r\n\r\nAlso you have to set the same object for `pop` key. But I tried and it is not working at all now..."}}
{"actor":{"display_login":"iksent"}}