{"action":"created","issue":{"url":"https://api.github.com/repos/amcnulty/Brew-App/issues/2","labels_url":"https://api.github.com/repos/amcnulty/Brew-App/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/amcnulty/Brew-App/issues/2/comments","events_url":"https://api.github.com/repos/amcnulty/Brew-App/issues/2/events","html_url":"https://github.com/amcnulty/Brew-App/issues/2","id":120837911,"number":2,"title":"Slow response to menu button press.","user":{"login":"amcnulty","id":8146225,"avatar_url":"https://avatars.githubusercontent.com/u/8146225?v=3","gravatar_id":"","url":"https://api.github.com/users/amcnulty","html_url":"https://github.com/amcnulty","followers_url":"https://api.github.com/users/amcnulty/followers","following_url":"https://api.github.com/users/amcnulty/following{/other_user}","gists_url":"https://api.github.com/users/amcnulty/gists{/gist_id}","starred_url":"https://api.github.com/users/amcnulty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amcnulty/subscriptions","organizations_url":"https://api.github.com/users/amcnulty/orgs","repos_url":"https://api.github.com/users/amcnulty/repos","events_url":"https://api.github.com/users/amcnulty/events{/privacy}","received_events_url":"https://api.github.com/users/amcnulty/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/amcnulty/Brew-App/labels/help%20wanted","name":"help wanted","color":"159818"},{"url":"https://api.github.com/repos/amcnulty/Brew-App/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":{"login":"amcnulty","id":8146225,"avatar_url":"https://avatars.githubusercontent.com/u/8146225?v=3","gravatar_id":"","url":"https://api.github.com/users/amcnulty","html_url":"https://github.com/amcnulty","followers_url":"https://api.github.com/users/amcnulty/followers","following_url":"https://api.github.com/users/amcnulty/following{/other_user}","gists_url":"https://api.github.com/users/amcnulty/gists{/gist_id}","starred_url":"https://api.github.com/users/amcnulty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amcnulty/subscriptions","organizations_url":"https://api.github.com/users/amcnulty/orgs","repos_url":"https://api.github.com/users/amcnulty/repos","events_url":"https://api.github.com/users/amcnulty/events{/privacy}","received_events_url":"https://api.github.com/users/amcnulty/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-12-07T18:32:20Z","updated_at":"2015-12-12T00:14:52Z","closed_at":"2015-12-11T23:52:44Z","body":"Issue: Slow response time when the user presses the on screen menu button on Motorola Droid 4.\r\n\r\nSteps to recreate:\r\n1. Install app on my phone and launch the app.\r\n2. Press the on screen menu button in the top right.\r\n\r\nThe menu pops up but after a delay time of about a second sometime more. This problem doesn't happen on the emulator in chrome.\r\n\r\nTheories:\r\n1. The phone I'm using isn't very good at reading HTML CSS and JS.\r\n2. Too many methods get called when the event fires creating a delay."},"comment":{"url":"https://api.github.com/repos/amcnulty/Brew-App/issues/comments/164086200","html_url":"https://github.com/amcnulty/Brew-App/issues/2#issuecomment-164086200","issue_url":"https://api.github.com/repos/amcnulty/Brew-App/issues/2","id":164086200,"user":{"login":"thandley","id":394693,"avatar_url":"https://avatars.githubusercontent.com/u/394693?v=3","gravatar_id":"","url":"https://api.github.com/users/thandley","html_url":"https://github.com/thandley","followers_url":"https://api.github.com/users/thandley/followers","following_url":"https://api.github.com/users/thandley/following{/other_user}","gists_url":"https://api.github.com/users/thandley/gists{/gist_id}","starred_url":"https://api.github.com/users/thandley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thandley/subscriptions","organizations_url":"https://api.github.com/users/thandley/orgs","repos_url":"https://api.github.com/users/thandley/repos","events_url":"https://api.github.com/users/thandley/events{/privacy}","received_events_url":"https://api.github.com/users/thandley/received_events","type":"User","site_admin":false},"created_at":"2015-12-12T00:14:52Z","updated_at":"2015-12-12T00:14:52Z","body":"Nice job good write up\n\nOn Fri, Dec 11, 2015, 5:52 PM amcnulty <notifications@github.com> wrote:\n\n> SOLUTION:\n>\n> The translateZ(0) visually does nothing but will invoke the phone's GPU\n> which isn't standard for a web browser application. In the below code I\n> simply added some transformations of translateZ(0) with the different\n> supported platforms in the same block the CSS translations are.\n>\n> .optionsList {\n>     background: rgba(0, 0, 0, .75);\n>     position: fixed;\n>     width: 100%;\n>     left: 0px;\n>     top: -200em;\n>     z-index: 1;\n>     -webkit-transform: translatez(0);\n>     -moz-transform: translatez(0);\n>     -ms-transform: translatez(0);\n>     -o-transform: translatez(0);\n>     transform: translatez(0);\n>     -webkit-transition: top .3s linear;\n>     -moz-transition: top .3s linear;\n>     -o-transition: top .3s linear;\n>     transition: top .3s linear;\n> }\n>\n> Doing this makes the translation more fluid on a device with a poor CPU\n> like an old phone.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/amcnulty/Brew-App/issues/2#issuecomment-164083420>.\n>\n"}}