{"action":"created","issue":{"url":"https://api.github.com/repos/cjmaio/activecollab-gantt/issues/3","labels_url":"https://api.github.com/repos/cjmaio/activecollab-gantt/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/cjmaio/activecollab-gantt/issues/3/comments","events_url":"https://api.github.com/repos/cjmaio/activecollab-gantt/issues/3/events","html_url":"https://github.com/cjmaio/activecollab-gantt/issues/3","id":89889338,"number":3,"title":"Uncaught TypeError: Cannot read property 'offsetWidth' of undefined","user":{"login":"vik0803","id":5364224,"avatar_url":"https://avatars.githubusercontent.com/u/5364224?v=3","gravatar_id":"","url":"https://api.github.com/users/vik0803","html_url":"https://github.com/vik0803","followers_url":"https://api.github.com/users/vik0803/followers","following_url":"https://api.github.com/users/vik0803/following{/other_user}","gists_url":"https://api.github.com/users/vik0803/gists{/gist_id}","starred_url":"https://api.github.com/users/vik0803/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vik0803/subscriptions","organizations_url":"https://api.github.com/users/vik0803/orgs","repos_url":"https://api.github.com/users/vik0803/repos","events_url":"https://api.github.com/users/vik0803/events{/privacy}","received_events_url":"https://api.github.com/users/vik0803/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-21T09:38:05Z","updated_at":"2015-06-21T18:44:51Z","closed_at":null,"body":"There is an issue and error is been recorded on the below line\r\n\r\ngantt.scrollTo(i,null),gantt.$scroll_hor.scrollTop=a}else{if(e.y)return!0;var n=t.wheelDelta/-40;\"undefined\"==typeof t.wheelDelta&&(n=t.detail);var a=gantt.$grid_data.scrollTop+30*n;gantt.scrollTo(null,a),gantt.$scroll_ver.scrollTop=a}return t.preventDefault&&t.preventDefault(),t.cancelBubble=!0,!1})},gantt._scroll_resize=function(){if(!(this._x<20||this._y<20)){var t=this._get_grid_width(),e=this._x-t,n=this._y-this.config.scale_height,i=this.config.scroll_size+1,a=this.$task_data.offsetWidth-i,s=this.config.row_height*this._order.length,r=this._get_resize_options(),o=this._scroll_hor=r.x?!1:a>e,d=this._scroll_ver=r.y?!1:s>n;\r\n\r\nseemes that it isnt able to find the value of this.$task_data.offsetWidth\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/cjmaio/activecollab-gantt/issues/comments/113940758","html_url":"https://github.com/cjmaio/activecollab-gantt/issues/3#issuecomment-113940758","issue_url":"https://api.github.com/repos/cjmaio/activecollab-gantt/issues/3","id":113940758,"user":{"login":"michaeljs1990","id":2604634,"avatar_url":"https://avatars.githubusercontent.com/u/2604634?v=3","gravatar_id":"","url":"https://api.github.com/users/michaeljs1990","html_url":"https://github.com/michaeljs1990","followers_url":"https://api.github.com/users/michaeljs1990/followers","following_url":"https://api.github.com/users/michaeljs1990/following{/other_user}","gists_url":"https://api.github.com/users/michaeljs1990/gists{/gist_id}","starred_url":"https://api.github.com/users/michaeljs1990/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaeljs1990/subscriptions","organizations_url":"https://api.github.com/users/michaeljs1990/orgs","repos_url":"https://api.github.com/users/michaeljs1990/repos","events_url":"https://api.github.com/users/michaeljs1990/events{/privacy}","received_events_url":"https://api.github.com/users/michaeljs1990/received_events","type":"User","site_admin":false},"created_at":"2015-06-21T18:44:51Z","updated_at":"2015-06-21T18:44:51Z","body":"```javascript\r\ngantt.scrollTo(i, null), gantt.$scroll_hor.scrollTop = a\r\n} else {\r\n    if (e.y) return !0;\r\n    var n = t.wheelDelta / -40;\r\n    \"undefined\" == typeof t.wheelDelta && (n = t.detail);\r\n    var a = gantt.$grid_data.scrollTop + 30 n;\r\n    gantt.scrollTo(null, a), gantt.$scroll_ver.scrollTop = a\r\n}\r\nreturn t.preventDefault && t.preventDefault(), t.cancelBubble = !0, !1\r\n})\r\n}, gantt._scroll_resize = function() {\r\n        if (!(this._x < 20 || this._y < 20)) {\r\n            var t = this._get_grid_width(),\r\n                e = this._x - t,\r\n                n = this._y - this.config.scale_height,\r\n                i = this.config.scroll_size + 1,\r\n                a = this.$task_data.offsetWidth - i,\r\n                s = this.config.row_heightthis._order.length,\r\n                r = this._get_resize_options(),\r\n                o = this._scroll_hor = r.x ? !1 : a > e,\r\n                d = this._scroll_ver = r.y ? !1 : s > n;\r\n```"}}