{"action":"created","issue":{"url":"https://api.github.com/repos/flutter/flutter/issues/1024","labels_url":"https://api.github.com/repos/flutter/flutter/issues/1024/labels{/name}","comments_url":"https://api.github.com/repos/flutter/flutter/issues/1024/comments","events_url":"https://api.github.com/repos/flutter/flutter/issues/1024/events","html_url":"https://github.com/flutter/flutter/pull/1024","id":123860479,"number":1024,"title":"Catch dismissable while it's animating.","user":{"login":"Hixie","id":551196,"avatar_url":"https://avatars.githubusercontent.com/u/551196?v=3","gravatar_id":"","url":"https://api.github.com/users/Hixie","html_url":"https://github.com/Hixie","followers_url":"https://api.github.com/users/Hixie/followers","following_url":"https://api.github.com/users/Hixie/following{/other_user}","gists_url":"https://api.github.com/users/Hixie/gists{/gist_id}","starred_url":"https://api.github.com/users/Hixie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hixie/subscriptions","organizations_url":"https://api.github.com/users/Hixie/orgs","repos_url":"https://api.github.com/users/Hixie/repos","events_url":"https://api.github.com/users/Hixie/events{/privacy}","received_events_url":"https://api.github.com/users/Hixie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-25T07:19:03Z","updated_at":"2015-12-25T07:39:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/flutter/flutter/pulls/1024","html_url":"https://github.com/flutter/flutter/pull/1024","diff_url":"https://github.com/flutter/flutter/pull/1024.diff","patch_url":"https://github.com/flutter/flutter/pull/1024.patch"},"body":"Fixes #173."},"comment":{"url":"https://api.github.com/repos/flutter/flutter/issues/comments/167205009","html_url":"https://github.com/flutter/flutter/pull/1024#issuecomment-167205009","issue_url":"https://api.github.com/repos/flutter/flutter/issues/1024","id":167205009,"user":{"login":"Hixie","id":551196,"avatar_url":"https://avatars.githubusercontent.com/u/551196?v=3","gravatar_id":"","url":"https://api.github.com/users/Hixie","html_url":"https://github.com/Hixie","followers_url":"https://api.github.com/users/Hixie/followers","following_url":"https://api.github.com/users/Hixie/following{/other_user}","gists_url":"https://api.github.com/users/Hixie/gists{/gist_id}","starred_url":"https://api.github.com/users/Hixie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hixie/subscriptions","organizations_url":"https://api.github.com/users/Hixie/orgs","repos_url":"https://api.github.com/users/Hixie/repos","events_url":"https://api.github.com/users/Hixie/events{/privacy}","received_events_url":"https://api.github.com/users/Hixie/received_events","type":"User","site_admin":false},"created_at":"2015-12-25T07:39:28Z","updated_at":"2015-12-25T07:39:28Z","body":"This doesn't work as well as it should, because the vertical drag gesture and the horizontal drag gesture fight over who should own the pointer so if you put your finger down, it keeps animating. I'm not really sure how to handle that... either the horizontal gesture should always win when you tap an animating dismissable (and you can't drag vertically at that time -- that should be easy to do, by just having a flag that makes it greedy), or we should stop it on down, and then resume it when the horizontal drag doesn't win (using the onDragDown/onDragCancel pattern from tap).\r\n\r\nI propose doing that in a separate pass though. This patch is still an improvement over the status quo."}}