{"action":"created","issue":{"url":"https://api.github.com/repos/nkbt/react-collapse/issues/59","repository_url":"https://api.github.com/repos/nkbt/react-collapse","labels_url":"https://api.github.com/repos/nkbt/react-collapse/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/nkbt/react-collapse/issues/59/comments","events_url":"https://api.github.com/repos/nkbt/react-collapse/issues/59/events","html_url":"https://github.com/nkbt/react-collapse/issues/59","id":163294154,"number":59,"title":"instantly collapses if rerendered during collapse","user":{"login":"kentor","id":240493,"avatar_url":"https://avatars.githubusercontent.com/u/240493?v=3","gravatar_id":"","url":"https://api.github.com/users/kentor","html_url":"https://github.com/kentor","followers_url":"https://api.github.com/users/kentor/followers","following_url":"https://api.github.com/users/kentor/following{/other_user}","gists_url":"https://api.github.com/users/kentor/gists{/gist_id}","starred_url":"https://api.github.com/users/kentor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kentor/subscriptions","organizations_url":"https://api.github.com/users/kentor/orgs","repos_url":"https://api.github.com/users/kentor/repos","events_url":"https://api.github.com/users/kentor/events{/privacy}","received_events_url":"https://api.github.com/users/kentor/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nkbt/react-collapse/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"nkbt","id":175264,"avatar_url":"https://avatars.githubusercontent.com/u/175264?v=3","gravatar_id":"","url":"https://api.github.com/users/nkbt","html_url":"https://github.com/nkbt","followers_url":"https://api.github.com/users/nkbt/followers","following_url":"https://api.github.com/users/nkbt/following{/other_user}","gists_url":"https://api.github.com/users/nkbt/gists{/gist_id}","starred_url":"https://api.github.com/users/nkbt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nkbt/subscriptions","organizations_url":"https://api.github.com/users/nkbt/orgs","repos_url":"https://api.github.com/users/nkbt/repos","events_url":"https://api.github.com/users/nkbt/events{/privacy}","received_events_url":"https://api.github.com/users/nkbt/received_events","type":"User","site_admin":false},"assignees":[{"login":"nkbt","id":175264,"avatar_url":"https://avatars.githubusercontent.com/u/175264?v=3","gravatar_id":"","url":"https://api.github.com/users/nkbt","html_url":"https://github.com/nkbt","followers_url":"https://api.github.com/users/nkbt/followers","following_url":"https://api.github.com/users/nkbt/following{/other_user}","gists_url":"https://api.github.com/users/nkbt/gists{/gist_id}","starred_url":"https://api.github.com/users/nkbt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nkbt/subscriptions","organizations_url":"https://api.github.com/users/nkbt/orgs","repos_url":"https://api.github.com/users/nkbt/repos","events_url":"https://api.github.com/users/nkbt/events{/privacy}","received_events_url":"https://api.github.com/users/nkbt/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-07-01T00:12:05Z","updated_at":"2016-08-13T09:42:44Z","closed_at":"2016-08-13T09:42:44Z","body":"I'm trying to implement an accordion component with react-collapse. The issue is that if I call setState to collapse an element, then call setState again shortly after but before the first collapse finishes, the first collapse animation finishes right away.\r\n\r\nHere's a repro: https://jsbin.com/viwalageta/edit?js,output\r\n\r\nClicking on Header 2 shows what I mean.\r\n\r\nNot sure if this is an issue with react-collapse or react-motion."},"comment":{"url":"https://api.github.com/repos/nkbt/react-collapse/issues/comments/239612506","html_url":"https://github.com/nkbt/react-collapse/issues/59#issuecomment-239612506","issue_url":"https://api.github.com/repos/nkbt/react-collapse/issues/59","id":239612506,"user":{"login":"nkbt","id":175264,"avatar_url":"https://avatars.githubusercontent.com/u/175264?v=3","gravatar_id":"","url":"https://api.github.com/users/nkbt","html_url":"https://github.com/nkbt","followers_url":"https://api.github.com/users/nkbt/followers","following_url":"https://api.github.com/users/nkbt/following{/other_user}","gists_url":"https://api.github.com/users/nkbt/gists{/gist_id}","starred_url":"https://api.github.com/users/nkbt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nkbt/subscriptions","organizations_url":"https://api.github.com/users/nkbt/orgs","repos_url":"https://api.github.com/users/nkbt/repos","events_url":"https://api.github.com/users/nkbt/events{/privacy}","received_events_url":"https://api.github.com/users/nkbt/received_events","type":"User","site_admin":false},"created_at":"2016-08-13T09:42:44Z","updated_at":"2016-08-13T09:42:44Z","body":"Just published `react-collapse@next` (not `latest` channel yet until better tested) with full rewrite, which fixes this issue. Give it a shot if you are keen."}}
{"actor":{"display_login":"nkbt"}}