{"action":"created","issue":{"url":"https://api.github.com/repos/lkzhao/ElasticTransition/issues/15","repository_url":"https://api.github.com/repos/lkzhao/ElasticTransition","labels_url":"https://api.github.com/repos/lkzhao/ElasticTransition/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/lkzhao/ElasticTransition/issues/15/comments","events_url":"https://api.github.com/repos/lkzhao/ElasticTransition/issues/15/events","html_url":"https://github.com/lkzhao/ElasticTransition/issues/15","id":139105082,"number":15,"title":"Strange bug when swiping quickly","user":{"login":"mitchellporter","id":7875419,"avatar_url":"https://avatars.githubusercontent.com/u/7875419?v=3","gravatar_id":"","url":"https://api.github.com/users/mitchellporter","html_url":"https://github.com/mitchellporter","followers_url":"https://api.github.com/users/mitchellporter/followers","following_url":"https://api.github.com/users/mitchellporter/following{/other_user}","gists_url":"https://api.github.com/users/mitchellporter/gists{/gist_id}","starred_url":"https://api.github.com/users/mitchellporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitchellporter/subscriptions","organizations_url":"https://api.github.com/users/mitchellporter/orgs","repos_url":"https://api.github.com/users/mitchellporter/repos","events_url":"https://api.github.com/users/mitchellporter/events{/privacy}","received_events_url":"https://api.github.com/users/mitchellporter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-07T21:49:00Z","updated_at":"2016-03-09T19:01:30Z","closed_at":null,"body":"I have a project where I have a `UINavigationController` and it's root controller. I have setup a modal segue from the nav controller to another controller in my `Storyboard`. I have attached the pan gesture to the nav controller's `UINavigationBar`. When the user swipes down on the nav bar, it triggers the modal segue that I setup on the storyboard, and the user can fully control the transition. This all works perfectly.\r\n\r\nHowever, If I swipe very fast, about 1 out of 10 times something very strange happens. Here's a screenshot: \r\n<img width=\"696\" alt=\"screen shot 2016-03-07 at 1 44 59 pm\" src=\"https://cloud.githubusercontent.com/assets/7875419/13584338/f0514f92-e46a-11e5-9942-37b74430c5d5.png\">\r\n\r\nThe main white view is where everything should be, but as you can see all of the other views are located up at the top and are not visible on screen at all. The top views have a `y value of -667`, which is the height in points of the iPhone 6 I am testing on.\r\n\r\nI need to fix this. For some reason when the user does a fast swipe all of this happens and then they basically get stuck with a blank screen."},"comment":{"url":"https://api.github.com/repos/lkzhao/ElasticTransition/issues/comments/194453254","html_url":"https://github.com/lkzhao/ElasticTransition/issues/15#issuecomment-194453254","issue_url":"https://api.github.com/repos/lkzhao/ElasticTransition/issues/15","id":194453254,"user":{"login":"lkzhao","id":3359850,"avatar_url":"https://avatars.githubusercontent.com/u/3359850?v=3","gravatar_id":"","url":"https://api.github.com/users/lkzhao","html_url":"https://github.com/lkzhao","followers_url":"https://api.github.com/users/lkzhao/followers","following_url":"https://api.github.com/users/lkzhao/following{/other_user}","gists_url":"https://api.github.com/users/lkzhao/gists{/gist_id}","starred_url":"https://api.github.com/users/lkzhao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lkzhao/subscriptions","organizations_url":"https://api.github.com/users/lkzhao/orgs","repos_url":"https://api.github.com/users/lkzhao/repos","events_url":"https://api.github.com/users/lkzhao/events{/privacy}","received_events_url":"https://api.github.com/users/lkzhao/received_events","type":"User","site_admin":false},"created_at":"2016-03-09T19:01:30Z","updated_at":"2016-03-09T19:01:30Z","body":"@mitchellporter I might have a fix for this. I am thinking that we should not return a transition delegate for the methods in UIViewControllerTransitioningDelegate protocol when the transitioning flag is set to true. I will create a PR for this fix tonight and can you verify if it fixes your problem? No rush though. do it when you have time. \r\nThank you very much for reporting this. Sorry about the time you have lost."}}