{"action":"created","issue":{"url":"https://api.github.com/repos/neuronetio/gantt-elastic/issues/7","repository_url":"https://api.github.com/repos/neuronetio/gantt-elastic","labels_url":"https://api.github.com/repos/neuronetio/gantt-elastic/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/neuronetio/gantt-elastic/issues/7/comments","events_url":"https://api.github.com/repos/neuronetio/gantt-elastic/issues/7/events","html_url":"https://github.com/neuronetio/gantt-elastic/issues/7","id":393571247,"node_id":"MDU6SXNzdWUzOTM1NzEyNDc=","number":7,"title":"Events other than scroll or zoom do not work in bundle mode. ","user":{"login":"redelman431","id":39221917,"node_id":"MDQ6VXNlcjM5MjIxOTE3","avatar_url":"https://avatars2.githubusercontent.com/u/39221917?v=4","gravatar_id":"","url":"https://api.github.com/users/redelman431","html_url":"https://github.com/redelman431","followers_url":"https://api.github.com/users/redelman431/followers","following_url":"https://api.github.com/users/redelman431/following{/other_user}","gists_url":"https://api.github.com/users/redelman431/gists{/gist_id}","starred_url":"https://api.github.com/users/redelman431/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redelman431/subscriptions","organizations_url":"https://api.github.com/users/redelman431/orgs","repos_url":"https://api.github.com/users/redelman431/repos","events_url":"https://api.github.com/users/redelman431/events{/privacy}","received_events_url":"https://api.github.com/users/redelman431/received_events","type":"User","site_admin":false},"labels":[{"id":973114695,"node_id":"MDU6TGFiZWw5NzMxMTQ2OTU=","url":"https://api.github.com/repos/neuronetio/gantt-elastic/labels/bug","name":"bug","color":"d73a4a","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-12-21T19:44:23Z","updated_at":"2018-12-22T16:37:21Z","closed_at":"2018-12-22T16:37:21Z","author_association":"NONE","body":"**Describe the bug**\r\nWhen using event listeners other than the scroll or zoom in bundle mode, the event listeners such as click or mouseover do not fire when the specified components are either clicked or hovered over. \r\n\r\n**To Reproduce**\r\n1. Modify the ready function in the examples/index.html file in your project. Do not use any Vue.js in that file. Only use VanillaJS or jQuery. \r\n2. Append these event listeners as shown here after line 266 of the examples/index.html file.\r\n\r\n````\r\n`GanttElastic.component.components['gantt-header'] = Header;\r\n    const app = GanttElastic.mount({\r\n      el: '#app', // <- your container id\r\n      tasks: tasks,\r\n      options: options,\r\n      ready(ganttInstance) {\r\n        console.log('ready!', ganttInstance);\r\n        ganttInstance.$on('times-timeZoom-change', (ev) => {\r\n          console.log('time zoom changed!', ev)\r\n        });\r\n        ganttInstance.$on('chart-task-click',function({event,data}) {\r\n            console.log(\"click\");\r\n        });\r\n        ganttInstance.$on('chart-milestone-click',function({event,data}) {\r\n            console.log(\"click\");\r\n        });\r\n        ganttInstance.$on('chart-project-click',function({event,data}) {\r\n            console.log(\"click\");\r\n        });\r\n        ganttInstance.$on('chart-task-mouseover',function({event,data}) {\r\n            console.log(\"mouseover\");\r\n        });\r\n        ganttInstance.$on('chart-milestone-mouseover',function({event,data}) {\r\n            console.log(\"mouseover\");\r\n        });\r\n        ganttInstance.$on('chart-project-mouseover',function({event,data}) {\r\n            console.log(\"mouseover\");\r\n        });\r\n   }\r\n   });\r\n  </script>\r\n</body>\r\n\r\n</html>\r\n \r\n````\r\n**Expected behavior**\r\nClicking or hovering on the chart project, tasks, and milestones should output the corresponding console.logs in each event. For example a hover should output \"mouseover\" in the console and a click should output \"click\". \r\n\r\n**Desktop (please complete the following information):**\r\n - OS: Linux and Mac. \r\n - Browser: Chrome  66.0.3359.181 64-bit and Firefox 60.0 64-bit.\r\n\r\n \r\n"},"comment":{"url":"https://api.github.com/repos/neuronetio/gantt-elastic/issues/comments/449582390","html_url":"https://github.com/neuronetio/gantt-elastic/issues/7#issuecomment-449582390","issue_url":"https://api.github.com/repos/neuronetio/gantt-elastic/issues/7","id":449582390,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTU4MjM5MA==","user":{"login":"neuronetio","id":25027696,"node_id":"MDQ6VXNlcjI1MDI3Njk2","avatar_url":"https://avatars0.githubusercontent.com/u/25027696?v=4","gravatar_id":"","url":"https://api.github.com/users/neuronetio","html_url":"https://github.com/neuronetio","followers_url":"https://api.github.com/users/neuronetio/followers","following_url":"https://api.github.com/users/neuronetio/following{/other_user}","gists_url":"https://api.github.com/users/neuronetio/gists{/gist_id}","starred_url":"https://api.github.com/users/neuronetio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neuronetio/subscriptions","organizations_url":"https://api.github.com/users/neuronetio/orgs","repos_url":"https://api.github.com/users/neuronetio/repos","events_url":"https://api.github.com/users/neuronetio/events{/privacy}","received_events_url":"https://api.github.com/users/neuronetio/received_events","type":"User","site_admin":false},"created_at":"2018-12-22T16:37:21Z","updated_at":"2018-12-22T16:37:21Z","author_association":"OWNER","body":"Fixed in 0.6.2"}}
{"actor":{"display_login":"neuronetio"}}