{"action":"created","issue":{"url":"https://api.github.com/repos/WordPress/gutenberg/issues/4862","repository_url":"https://api.github.com/repos/WordPress/gutenberg","labels_url":"https://api.github.com/repos/WordPress/gutenberg/issues/4862/labels{/name}","comments_url":"https://api.github.com/repos/WordPress/gutenberg/issues/4862/comments","events_url":"https://api.github.com/repos/WordPress/gutenberg/issues/4862/events","html_url":"https://github.com/WordPress/gutenberg/pull/4862","id":294305052,"number":4862,"title":"Fix the lingering dropzone placeholder at the end of the editor","user":{"login":"youknowriad","id":272444,"avatar_url":"https://avatars3.githubusercontent.com/u/272444?v=4","gravatar_id":"","url":"https://api.github.com/users/youknowriad","html_url":"https://github.com/youknowriad","followers_url":"https://api.github.com/users/youknowriad/followers","following_url":"https://api.github.com/users/youknowriad/following{/other_user}","gists_url":"https://api.github.com/users/youknowriad/gists{/gist_id}","starred_url":"https://api.github.com/users/youknowriad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/youknowriad/subscriptions","organizations_url":"https://api.github.com/users/youknowriad/orgs","repos_url":"https://api.github.com/users/youknowriad/repos","events_url":"https://api.github.com/users/youknowriad/events{/privacy}","received_events_url":"https://api.github.com/users/youknowriad/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"youknowriad","id":272444,"avatar_url":"https://avatars3.githubusercontent.com/u/272444?v=4","gravatar_id":"","url":"https://api.github.com/users/youknowriad","html_url":"https://github.com/youknowriad","followers_url":"https://api.github.com/users/youknowriad/followers","following_url":"https://api.github.com/users/youknowriad/following{/other_user}","gists_url":"https://api.github.com/users/youknowriad/gists{/gist_id}","starred_url":"https://api.github.com/users/youknowriad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/youknowriad/subscriptions","organizations_url":"https://api.github.com/users/youknowriad/orgs","repos_url":"https://api.github.com/users/youknowriad/repos","events_url":"https://api.github.com/users/youknowriad/events{/privacy}","received_events_url":"https://api.github.com/users/youknowriad/received_events","type":"User","site_admin":false},"assignees":[{"login":"youknowriad","id":272444,"avatar_url":"https://avatars3.githubusercontent.com/u/272444?v=4","gravatar_id":"","url":"https://api.github.com/users/youknowriad","html_url":"https://github.com/youknowriad","followers_url":"https://api.github.com/users/youknowriad/followers","following_url":"https://api.github.com/users/youknowriad/following{/other_user}","gists_url":"https://api.github.com/users/youknowriad/gists{/gist_id}","starred_url":"https://api.github.com/users/youknowriad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/youknowriad/subscriptions","organizations_url":"https://api.github.com/users/youknowriad/orgs","repos_url":"https://api.github.com/users/youknowriad/repos","events_url":"https://api.github.com/users/youknowriad/events{/privacy}","received_events_url":"https://api.github.com/users/youknowriad/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-02-05T08:12:52Z","updated_at":"2018-02-06T08:44:12Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/WordPress/gutenberg/pulls/4862","html_url":"https://github.com/WordPress/gutenberg/pull/4862","diff_url":"https://github.com/WordPress/gutenberg/pull/4862.diff","patch_url":"https://github.com/WordPress/gutenberg/pull/4862.patch"},"body":"closes #4810 \r\n\r\nSince the DragOver event handler is debounced, it's called even after the onDrop event handler happens which causes the placeholder to show up after the mouse has been released.\r\nThis PR fixes this behavior by canceling the debounced calls.\r\nIt also includes some small fixes to the dropzone size of the default block appender.\r\n\r\n**Testing instructions**\r\n\r\n - Drag and drop files into the document\r\n - You should not see any lingering placeholder after releasing the mouse."},"comment":{"url":"https://api.github.com/repos/WordPress/gutenberg/issues/comments/363350771","html_url":"https://github.com/WordPress/gutenberg/pull/4862#issuecomment-363350771","issue_url":"https://api.github.com/repos/WordPress/gutenberg/issues/4862","id":363350771,"user":{"login":"youknowriad","id":272444,"avatar_url":"https://avatars3.githubusercontent.com/u/272444?v=4","gravatar_id":"","url":"https://api.github.com/users/youknowriad","html_url":"https://github.com/youknowriad","followers_url":"https://api.github.com/users/youknowriad/followers","following_url":"https://api.github.com/users/youknowriad/following{/other_user}","gists_url":"https://api.github.com/users/youknowriad/gists{/gist_id}","starred_url":"https://api.github.com/users/youknowriad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/youknowriad/subscriptions","organizations_url":"https://api.github.com/users/youknowriad/orgs","repos_url":"https://api.github.com/users/youknowriad/repos","events_url":"https://api.github.com/users/youknowriad/events{/privacy}","received_events_url":"https://api.github.com/users/youknowriad/received_events","type":"User","site_admin":false},"created_at":"2018-02-06T08:44:11Z","updated_at":"2018-02-06T08:44:11Z","author_association":"CONTRIBUTOR","body":"@jorgefilipecosta @chriskmnds It's not easy to solve the dropping outside of the document issue but I believe this issue has always been there, it's not a recent regression. \r\n\r\nI'm thinking we should move forward with this patch as is and fix the remaining issue separately (try to find a way to fix without over-complexifying the code)"}}
{"actor":{"display_login":"youknowriad"}}