{"action":"created","issue":{"url":"https://api.github.com/repos/zenorocha/clipboard.js/issues/9","labels_url":"https://api.github.com/repos/zenorocha/clipboard.js/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/zenorocha/clipboard.js/issues/9/comments","events_url":"https://api.github.com/repos/zenorocha/clipboard.js/issues/9/events","html_url":"https://github.com/zenorocha/clipboard.js/pull/9","id":108704722,"number":9,"title":"Small fix on the fake element and removed a unnecessary else","user":{"login":"gartz","id":99608,"avatar_url":"https://avatars.githubusercontent.com/u/99608?v=3","gravatar_id":"","url":"https://api.github.com/users/gartz","html_url":"https://github.com/gartz","followers_url":"https://api.github.com/users/gartz/followers","following_url":"https://api.github.com/users/gartz/following{/other_user}","gists_url":"https://api.github.com/users/gartz/gists{/gist_id}","starred_url":"https://api.github.com/users/gartz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gartz/subscriptions","organizations_url":"https://api.github.com/users/gartz/orgs","repos_url":"https://api.github.com/users/gartz/repos","events_url":"https://api.github.com/users/gartz/events{/privacy}","received_events_url":"https://api.github.com/users/gartz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-28T17:21:09Z","updated_at":"2015-09-30T08:51:10Z","closed_at":"2015-09-30T01:00:34Z","pull_request":{"url":"https://api.github.com/repos/zenorocha/clipboard.js/pulls/9","html_url":"https://github.com/zenorocha/clipboard.js/pull/9","diff_url":"https://github.com/zenorocha/clipboard.js/pull/9.diff","patch_url":"https://github.com/zenorocha/clipboard.js/pull/9.patch"},"body":"Even when you have left in a huge number, sometimes the element can be displayed, setting width and height to zero will avoid that independent of the app styles.\r\nAlso removed a `else` that does nothing, since the `if` block have `throw`."},"comment":{"url":"https://api.github.com/repos/zenorocha/clipboard.js/issues/comments/144330563","html_url":"https://github.com/zenorocha/clipboard.js/pull/9#issuecomment-144330563","issue_url":"https://api.github.com/repos/zenorocha/clipboard.js/issues/9","id":144330563,"user":{"login":"gartz","id":99608,"avatar_url":"https://avatars.githubusercontent.com/u/99608?v=3","gravatar_id":"","url":"https://api.github.com/users/gartz","html_url":"https://github.com/gartz","followers_url":"https://api.github.com/users/gartz/followers","following_url":"https://api.github.com/users/gartz/following{/other_user}","gists_url":"https://api.github.com/users/gartz/gists{/gist_id}","starred_url":"https://api.github.com/users/gartz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gartz/subscriptions","organizations_url":"https://api.github.com/users/gartz/orgs","repos_url":"https://api.github.com/users/gartz/repos","events_url":"https://api.github.com/users/gartz/events{/privacy}","received_events_url":"https://api.github.com/users/gartz/received_events","type":"User","site_admin":false},"created_at":"2015-09-30T08:51:09Z","updated_at":"2015-09-30T08:51:09Z","body":"Good to know, I'm using this approach on some places in production, because after we change some CSS the `left: -99999px` start breaking the design of the page and flickering while scrolling.\r\nclip or transform could work too, I think browsers doesn't check for transform, since it's IE 9+ compatible, I don't see problem to use it :)"}}