{"action":"created","issue":{"url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/4290","labels_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/4290/labels{/name}","comments_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/4290/comments","events_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/4290/events","html_url":"https://github.com/code-dot-org/code-dot-org/pull/4290","id":109370555,"number":4290,"title":"Fix trash can fade layering","user":{"login":"islemaster","id":1615761,"avatar_url":"https://avatars.githubusercontent.com/u/1615761?v=3","gravatar_id":"","url":"https://api.github.com/users/islemaster","html_url":"https://github.com/islemaster","followers_url":"https://api.github.com/users/islemaster/followers","following_url":"https://api.github.com/users/islemaster/following{/other_user}","gists_url":"https://api.github.com/users/islemaster/gists{/gist_id}","starred_url":"https://api.github.com/users/islemaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/islemaster/subscriptions","organizations_url":"https://api.github.com/users/islemaster/orgs","repos_url":"https://api.github.com/users/islemaster/repos","events_url":"https://api.github.com/users/islemaster/events{/privacy}","received_events_url":"https://api.github.com/users/islemaster/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"bcjordan","id":206973,"avatar_url":"https://avatars.githubusercontent.com/u/206973?v=3","gravatar_id":"","url":"https://api.github.com/users/bcjordan","html_url":"https://github.com/bcjordan","followers_url":"https://api.github.com/users/bcjordan/followers","following_url":"https://api.github.com/users/bcjordan/following{/other_user}","gists_url":"https://api.github.com/users/bcjordan/gists{/gist_id}","starred_url":"https://api.github.com/users/bcjordan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcjordan/subscriptions","organizations_url":"https://api.github.com/users/bcjordan/orgs","repos_url":"https://api.github.com/users/bcjordan/repos","events_url":"https://api.github.com/users/bcjordan/events{/privacy}","received_events_url":"https://api.github.com/users/bcjordan/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-10-01T19:53:09Z","updated_at":"2015-10-01T19:58:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/4290","html_url":"https://github.com/code-dot-org/code-dot-org/pull/4290","diff_url":"https://github.com/code-dot-org/code-dot-org/pull/4290.diff","patch_url":"https://github.com/code-dot-org/code-dot-org/pull/4290.patch"},"body":"Yesterday @hadipartovi notified us of a regression in the trash can appearance, apparently introduced during the scrolling improvements made by @bcjordan and myself.\r\n\r\n# Before and after\r\nHere's an animation of the original problem, which repros in blockly playground.  The issue appears only when using a modal editor in a non-category level.\r\n\r\n![broken-noncategory-modal](https://cloud.githubusercontent.com/assets/1615761/10231239/87e5f490-6836-11e5-8bab-bbedb64db650.gif)\r\n\r\nHere's the behavior after this change:\r\n\r\n![noncategory-modal](https://cloud.githubusercontent.com/assets/1615761/10231252/950bc5e6-6836-11e5-9ad3-4d6d9ba9f3d6.gif)\r\n\r\n# Root cause\r\nBest illustrated:\r\n\r\n![noncategory-layers-01](https://cloud.githubusercontent.com/assets/1615761/10232066/3f62e8ae-683b-11e5-9f0c-ad970b4cd95b.png)\r\n\r\n![noncategory-layers-02](https://cloud.githubusercontent.com/assets/1615761/10232069/41b47b5e-683b-11e5-8b84-f5d179604e99.png)\r\n\r\n![noncategory-layers-03](https://cloud.githubusercontent.com/assets/1615761/10232070/436ba828-683b-11e5-9320-129a127c99c8.png)\r\n\r\n# Verification of other cases\r\nProof that the other situations still work:\r\n\r\nNoncategory level without modal editor:\r\n![noncategory-nonmodal](https://cloud.githubusercontent.com/assets/1615761/10231268/ae0b566a-6836-11e5-824c-76b4422c1bc7.gif)\r\n\r\nCategory level without modal editor:\r\n![category-nonmodal](https://cloud.githubusercontent.com/assets/1615761/10231275/b52fba3a-6836-11e5-8073-cc078484637d.gif)\r\n\r\nCategory level _with_ modal editor:\r\n![category-modal](https://cloud.githubusercontent.com/assets/1615761/10231280/bc7fe01c-6836-11e5-82b1-e181e1c96e19.gif)\r\n"},"comment":{"url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/comments/144831146","html_url":"https://github.com/code-dot-org/code-dot-org/pull/4290#issuecomment-144831146","issue_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/4290","id":144831146,"user":{"login":"bcjordan","id":206973,"avatar_url":"https://avatars.githubusercontent.com/u/206973?v=3","gravatar_id":"","url":"https://api.github.com/users/bcjordan","html_url":"https://github.com/bcjordan","followers_url":"https://api.github.com/users/bcjordan/followers","following_url":"https://api.github.com/users/bcjordan/following{/other_user}","gists_url":"https://api.github.com/users/bcjordan/gists{/gist_id}","starred_url":"https://api.github.com/users/bcjordan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcjordan/subscriptions","organizations_url":"https://api.github.com/users/bcjordan/orgs","repos_url":"https://api.github.com/users/bcjordan/repos","events_url":"https://api.github.com/users/bcjordan/events{/privacy}","received_events_url":"https://api.github.com/users/bcjordan/received_events","type":"User","site_admin":false},"created_at":"2015-10-01T19:58:32Z","updated_at":"2015-10-01T19:58:32Z","body":"LGTM!"}}