{"action":"created","issue":{"url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/1466","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/1466/labels{/name}","comments_url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/1466/comments","events_url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/1466/events","html_url":"https://github.com/aksonov/react-native-router-flux/issues/1466","id":194815123,"number":1466,"title":"view is not re-rendered when click button too fast","user":{"login":"ltjsjyyy","id":6718261,"avatar_url":"https://avatars.githubusercontent.com/u/6718261?v=3","gravatar_id":"","url":"https://api.github.com/users/ltjsjyyy","html_url":"https://github.com/ltjsjyyy","followers_url":"https://api.github.com/users/ltjsjyyy/followers","following_url":"https://api.github.com/users/ltjsjyyy/following{/other_user}","gists_url":"https://api.github.com/users/ltjsjyyy/gists{/gist_id}","starred_url":"https://api.github.com/users/ltjsjyyy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ltjsjyyy/subscriptions","organizations_url":"https://api.github.com/users/ltjsjyyy/orgs","repos_url":"https://api.github.com/users/ltjsjyyy/repos","events_url":"https://api.github.com/users/ltjsjyyy/events{/privacy}","received_events_url":"https://api.github.com/users/ltjsjyyy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-12-11T06:03:47Z","updated_at":"2017-01-02T15:33:16Z","closed_at":null,"body":"### Version\r\nTell us which versions you are using: \r\n\r\n- react-native-router-flux v3.30.0\r\n- react-native v15.3.2\r\n\r\n### Expected behaviour\r\nI have two Scenes\r\n`<Scene key=\"myInfoView\" component={MyInfoView} hideNavBar={true}/>`\r\n`<Scene key=\"orderListView\" component={OrderListView} hideNavBar={true}/>`\r\nin myInfoView there is several buttons to go to orderListView with different filter params.\r\nSo in the handler of the buttons I called Actions.orderListView({filter:`<params>`}) to go to the orderListView to show the different order lists, such as wait for paying orders, wait for delivery orders.\r\n\r\n### Actual behaviour\r\nNormally it works fine, but i found there is a issue when i do the actions quickly.\r\n\r\n### Steps to reproduce\r\nYou can reproduce the action like below:\r\n1. go to orderListView with filter id 0.\r\n2. go back to myInfoView.\r\n3. quickly go to orderListView with filter id 1. ( if i wait for 1~2 seconds, everything is fine )\r\n4. orderListView still show with filter id 0.\r\n\r\nI also did some research, like add some logs in render method of orderListView.\r\nI found that if i reproduce the actions quickly, it does not render the view, may be it's because when i trigger the action the animation is not finished, right?"},"comment":{"url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/comments/269986845","html_url":"https://github.com/aksonov/react-native-router-flux/issues/1466#issuecomment-269986845","issue_url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/1466","id":269986845,"user":{"login":"eneskaya","id":964419,"avatar_url":"https://avatars.githubusercontent.com/u/964419?v=3","gravatar_id":"","url":"https://api.github.com/users/eneskaya","html_url":"https://github.com/eneskaya","followers_url":"https://api.github.com/users/eneskaya/followers","following_url":"https://api.github.com/users/eneskaya/following{/other_user}","gists_url":"https://api.github.com/users/eneskaya/gists{/gist_id}","starred_url":"https://api.github.com/users/eneskaya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eneskaya/subscriptions","organizations_url":"https://api.github.com/users/eneskaya/orgs","repos_url":"https://api.github.com/users/eneskaya/repos","events_url":"https://api.github.com/users/eneskaya/events{/privacy}","received_events_url":"https://api.github.com/users/eneskaya/received_events","type":"User","site_admin":false},"created_at":"2017-01-02T15:33:16Z","updated_at":"2017-01-02T15:33:16Z","body":"@ltjsjyyy Actually, when setting the duration like @erikandersson described, the screens render perfectly, even on fast tap. No matter if set to 400 or 0. I didn't test it on Android yet, but on iOS it works as expected."}}
{"actor":{"display_login":"eneskaya"}}