{"action":"created","issue":{"url":"https://api.github.com/repos/JakeSidSmith/react-fastclick/issues/13","labels_url":"https://api.github.com/repos/JakeSidSmith/react-fastclick/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/JakeSidSmith/react-fastclick/issues/13/comments","events_url":"https://api.github.com/repos/JakeSidSmith/react-fastclick/issues/13/events","html_url":"https://github.com/JakeSidSmith/react-fastclick/issues/13","id":107689421,"number":13,"title":"If the page re-renders quickly, can click on the wrong thing","user":{"login":"glenjamin","id":151272,"avatar_url":"https://avatars.githubusercontent.com/u/151272?v=3","gravatar_id":"","url":"https://api.github.com/users/glenjamin","html_url":"https://github.com/glenjamin","followers_url":"https://api.github.com/users/glenjamin/followers","following_url":"https://api.github.com/users/glenjamin/following{/other_user}","gists_url":"https://api.github.com/users/glenjamin/gists{/gist_id}","starred_url":"https://api.github.com/users/glenjamin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glenjamin/subscriptions","organizations_url":"https://api.github.com/users/glenjamin/orgs","repos_url":"https://api.github.com/users/glenjamin/repos","events_url":"https://api.github.com/users/glenjamin/events{/privacy}","received_events_url":"https://api.github.com/users/glenjamin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JakeSidSmith/react-fastclick/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-22T10:53:37Z","updated_at":"2015-10-01T08:37:22Z","closed_at":null,"body":"If the element under the tap changes between `touchstart` and `touchend`, the new element is clicked.\r\n\r\nIdeally this lib should detect the target and check that it's the same element at the end of the tap."},"comment":{"url":"https://api.github.com/repos/JakeSidSmith/react-fastclick/issues/comments/144656572","html_url":"https://github.com/JakeSidSmith/react-fastclick/issues/13#issuecomment-144656572","issue_url":"https://api.github.com/repos/JakeSidSmith/react-fastclick/issues/13","id":144656572,"user":{"login":"glenjamin","id":151272,"avatar_url":"https://avatars.githubusercontent.com/u/151272?v=3","gravatar_id":"","url":"https://api.github.com/users/glenjamin","html_url":"https://github.com/glenjamin","followers_url":"https://api.github.com/users/glenjamin/followers","following_url":"https://api.github.com/users/glenjamin/following{/other_user}","gists_url":"https://api.github.com/users/glenjamin/gists{/gist_id}","starred_url":"https://api.github.com/users/glenjamin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glenjamin/subscriptions","organizations_url":"https://api.github.com/users/glenjamin/orgs","repos_url":"https://api.github.com/users/glenjamin/repos","events_url":"https://api.github.com/users/glenjamin/events{/privacy}","received_events_url":"https://api.github.com/users/glenjamin/received_events","type":"User","site_admin":false},"created_at":"2015-10-01T08:37:22Z","updated_at":"2015-10-01T08:37:22Z","body":"Something like this:\r\n\r\ntapping on A fires the event on B.\r\n\r\n```jsx\r\n{\r\n  !this.state.hide ? (\r\n    <button\r\n      onTouchStart={this.hide}\r\n      onClick={this.doSomething}>A</button>\r\n  ) : <button\r\n      onTouchStart={this.hide}\r\n      onClick={this.doSomething}>B</button>\r\n}\r\n```"}}