{"action":"created","issue":{"url":"https://api.github.com/repos/dolce/iziModal/issues/20","repository_url":"https://api.github.com/repos/dolce/iziModal","labels_url":"https://api.github.com/repos/dolce/iziModal/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/dolce/iziModal/issues/20/comments","events_url":"https://api.github.com/repos/dolce/iziModal/issues/20/events","html_url":"https://github.com/dolce/iziModal/issues/20","id":170930873,"number":20,"title":"ScrollHeight","user":{"login":"danielbarion","id":9615850,"avatar_url":"https://avatars.githubusercontent.com/u/9615850?v=3","gravatar_id":"","url":"https://api.github.com/users/danielbarion","html_url":"https://github.com/danielbarion","followers_url":"https://api.github.com/users/danielbarion/followers","following_url":"https://api.github.com/users/danielbarion/following{/other_user}","gists_url":"https://api.github.com/users/danielbarion/gists{/gist_id}","starred_url":"https://api.github.com/users/danielbarion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielbarion/subscriptions","organizations_url":"https://api.github.com/users/danielbarion/orgs","repos_url":"https://api.github.com/users/danielbarion/repos","events_url":"https://api.github.com/users/danielbarion/events{/privacy}","received_events_url":"https://api.github.com/users/danielbarion/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-12T18:28:24Z","updated_at":"2016-08-12T19:12:14Z","closed_at":null,"body":"Após atualizar da V 1.20 para a 1.30 eu obtive o seguinte erro, porém efetuei o downgrade para a 1.20 e continuei a usar, normalmente. Notei que a versão 1.31 havia sido lançada, fiz o update e o erro permanece, novamente efetuei o downgrade para continuar com o projeto sem interrupção.\r\n\r\nError:\r\n> $Arquivo.js: 63 Uncaught TypeError: Cannot read property 'scrollHeight' of undefined\r\n\r\n\r\n* https://github.com/dolce/iziModal/blob/master/js/iziModal.js\r\n\r\nIdentifiquei que no arquivo acima, a única vez em que scrollHeight aparece é na linha 777 do arquivo em JavaScript:\r\n\r\n```javascript\r\n contentHeight = this.$element.find('.'+PLUGIN_NAME+'-content')[0].scrollHeight,\r\n```\r\n\r\nSou leigo em JS para mexer livremente no código, essas foram as informações que consegui obter, por favor dê uma verificada.\r\n\r\nAbraço, Daniel Barion"},"comment":{"url":"https://api.github.com/repos/dolce/iziModal/issues/comments/239535074","html_url":"https://github.com/dolce/iziModal/issues/20#issuecomment-239535074","issue_url":"https://api.github.com/repos/dolce/iziModal/issues/20","id":239535074,"user":{"login":"dolce","id":2837790,"avatar_url":"https://avatars.githubusercontent.com/u/2837790?v=3","gravatar_id":"","url":"https://api.github.com/users/dolce","html_url":"https://github.com/dolce","followers_url":"https://api.github.com/users/dolce/followers","following_url":"https://api.github.com/users/dolce/following{/other_user}","gists_url":"https://api.github.com/users/dolce/gists{/gist_id}","starred_url":"https://api.github.com/users/dolce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dolce/subscriptions","organizations_url":"https://api.github.com/users/dolce/orgs","repos_url":"https://api.github.com/users/dolce/repos","events_url":"https://api.github.com/users/dolce/events{/privacy}","received_events_url":"https://api.github.com/users/dolce/received_events","type":"User","site_admin":false},"created_at":"2016-08-12T19:12:14Z","updated_at":"2016-08-12T19:12:14Z","body":"Olá @danielbarion, agradeço o contato.. poderia me dizer mais sobre o ocorrido?\r\nQuando isso ocorre? quando é aberto o modal? qual navegador? e poderia subir um exemplo simples no CodePen, para que eu consiga analisar? valeu"}}
{"actor":{"display_login":"dolce"}}