{"action":"created","issue":{"url":"https://api.github.com/repos/riot/riot/issues/1608","repository_url":"https://api.github.com/repos/riot/riot","labels_url":"https://api.github.com/repos/riot/riot/issues/1608/labels{/name}","comments_url":"https://api.github.com/repos/riot/riot/issues/1608/comments","events_url":"https://api.github.com/repos/riot/riot/issues/1608/events","html_url":"https://github.com/riot/riot/issues/1608","id":134553461,"number":1608,"title":"Performance problems only with iPad Air (2013)","user":{"login":"dragonprojects","id":3847668,"avatar_url":"https://avatars.githubusercontent.com/u/3847668?v=3","gravatar_id":"","url":"https://api.github.com/users/dragonprojects","html_url":"https://github.com/dragonprojects","followers_url":"https://api.github.com/users/dragonprojects/followers","following_url":"https://api.github.com/users/dragonprojects/following{/other_user}","gists_url":"https://api.github.com/users/dragonprojects/gists{/gist_id}","starred_url":"https://api.github.com/users/dragonprojects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dragonprojects/subscriptions","organizations_url":"https://api.github.com/users/dragonprojects/orgs","repos_url":"https://api.github.com/users/dragonprojects/repos","events_url":"https://api.github.com/users/dragonprojects/events{/privacy}","received_events_url":"https://api.github.com/users/dragonprojects/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/riot/riot/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/riot/riot/labels/duplicate","name":"duplicate","color":"dddddd"},{"url":"https://api.github.com/repos/riot/riot/labels/to%20verify","name":"to verify","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":22,"created_at":"2016-02-18T11:24:06Z","updated_at":"2016-02-24T03:05:11Z","closed_at":null,"body":"Hi,\r\n\r\nI created an online scorecard for qwixx with riot.js. With browsers on PC and Smartphone all works pretty fine. But on my tablet, which is an iPad Air (2013), I have massive performance problems (1 sec after click an element till UI update).\r\n\r\nSomeone have an idea it's a generall problem with riot.js, the iPad Air (2013) just not have enough power or I do something very strange/wrong?\r\n\r\nFor the last question:\r\n- here my tag file: https://gist.github.com/dragonprojects/229a09f4963fcc3d6772 (but carefully, its not that small)\r\n- and here the current running version using it: http://dqwixx-staging.herokuapp.com/"},"comment":{"url":"https://api.github.com/repos/riot/riot/issues/comments/188035479","html_url":"https://github.com/riot/riot/issues/1608#issuecomment-188035479","issue_url":"https://api.github.com/repos/riot/riot/issues/1608","id":188035479,"user":{"login":"dragonprojects","id":3847668,"avatar_url":"https://avatars.githubusercontent.com/u/3847668?v=3","gravatar_id":"","url":"https://api.github.com/users/dragonprojects","html_url":"https://github.com/dragonprojects","followers_url":"https://api.github.com/users/dragonprojects/followers","following_url":"https://api.github.com/users/dragonprojects/following{/other_user}","gists_url":"https://api.github.com/users/dragonprojects/gists{/gist_id}","starred_url":"https://api.github.com/users/dragonprojects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dragonprojects/subscriptions","organizations_url":"https://api.github.com/users/dragonprojects/orgs","repos_url":"https://api.github.com/users/dragonprojects/repos","events_url":"https://api.github.com/users/dragonprojects/events{/privacy}","received_events_url":"https://api.github.com/users/dragonprojects/received_events","type":"User","site_admin":false},"created_at":"2016-02-24T03:05:11Z","updated_at":"2016-02-24T03:05:11Z","body":"Soo, I did some tests, but no one works really well.\r\n\r\n1. {{ontouchstart}} alone, without debounce:\r\nMaybe I did something wrong, but {{ontouchstart}} alone doesn't work on the browser (no reaction, seems the browser don't trigger this kind of event).\r\n\r\nTagfile: https://gist.github.com/dragonprojects/06a83620c69632532646\r\n\r\n\r\n2. {{ontouchstart}} and {{onclick}} with debounce:\r\nThe already described \"1 Click behind lag\" on browser and iPad.\r\n\r\nTagfile: https://gist.github.com/dragonprojects/7656249f7f6ca6f25699\r\n\r\n\r\n3. {{ontouchstart}} and {{onclick}} without debounce:\r\nWorks pretty well on browser and iPad.\r\n\r\nTagfile: https://gist.github.com/dragonprojects/b0e115b4eec9eebd9bb2\r\nDemo with currently this last test version: http://dqwixx-staging-pr-4.herokuapp.com/\r\n\r\n\r\nSoo, {{ontouchstart}} solve the performance problems on iPad but alone it doesn't work on the browser. Together with {{onclick}} it seems all works pretty well. \r\n\r\nBut both events without debounce sounds like some device maybe trigger both events at the same time?"}}