{"action":"opened","issue":{"url":"https://api.github.com/repos/primefaces/primeng/issues/6636","repository_url":"https://api.github.com/repos/primefaces/primeng","labels_url":"https://api.github.com/repos/primefaces/primeng/issues/6636/labels{/name}","comments_url":"https://api.github.com/repos/primefaces/primeng/issues/6636/comments","events_url":"https://api.github.com/repos/primefaces/primeng/issues/6636/events","html_url":"https://github.com/primefaces/primeng/issues/6636","id":366914588,"node_id":"MDU6SXNzdWUzNjY5MTQ1ODg=","number":6636,"title":"onHide Event not working in 6.1.4","user":{"login":"sharma-sahil","id":26433165,"node_id":"MDQ6VXNlcjI2NDMzMTY1","avatar_url":"https://avatars1.githubusercontent.com/u/26433165?v=4","gravatar_id":"","url":"https://api.github.com/users/sharma-sahil","html_url":"https://github.com/sharma-sahil","followers_url":"https://api.github.com/users/sharma-sahil/followers","following_url":"https://api.github.com/users/sharma-sahil/following{/other_user}","gists_url":"https://api.github.com/users/sharma-sahil/gists{/gist_id}","starred_url":"https://api.github.com/users/sharma-sahil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharma-sahil/subscriptions","organizations_url":"https://api.github.com/users/sharma-sahil/orgs","repos_url":"https://api.github.com/users/sharma-sahil/repos","events_url":"https://api.github.com/users/sharma-sahil/events{/privacy}","received_events_url":"https://api.github.com/users/sharma-sahil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-04T18:27:42Z","updated_at":"2018-10-04T18:27:42Z","closed_at":null,"author_association":"NONE","body":"OnHide event is not working fine in the latest version 6.1.4. It was working fine the previous verison 6.1.3.\r\nI have not made any changes in the code, but still after the latest verison it's not working anymore.\r\n\r\n**I'm submitting a ...**  \r\n[ ] bug report => Search github for a similar issue or PR before submitting\r\n\r\n**Current behavior**\r\nonHide event should fire on the click of \"X\" link on top right corner of modal.\r\n\r\n**Expected behavior**\r\nonHide event is not firing on the click of \"X\" link on the top right corner of modal.\r\n\r\nMy HTML code is \r\n`<div class=\"sm-modal sm-sl-pad\">\r\n  <p-dialog [modal]=\"true\" [responsive]=\"true\" [width]=\"500\" [minWidth]=\"200\" [minY]=\"70\"\r\n            [maximizable]=\"false\" [baseZIndex]=\"10000\"\r\n            [(visible)]=\"isModalVisible\" (onHide)=\"emitCancelEvent()\"   >\r\n      <p-header>\r\n          {{headerText}}\r\n      </p-header>\r\n      <span>{{ messageText }}</span>\r\n      <p-footer>\r\n        <button type=\"button\" pButton (click)=\"emitConfirmEvent()\" > {{confirmButtonText}} </button>\r\n        <button type=\"button\" pButton (click)=\"emitCancelEvent()\" class=\"ui-button-secondary\"> {{cancelButtonText}} </button>\r\n      </p-footer>\r\n  </p-dialog>\r\n</div>\r\n`\r\n\r\n\r\nmy ts code is \r\n\r\n`  \r\n  isModalVisible = false;\r\n\r\n  headerText = '';\r\n\r\n  messageText = '';\r\n\r\n  confirmButtonText = '';\r\n\r\n  cancelButtonText = '';\r\n\r\nemitConfirmEvent() {\r\n    this.confirm.emit('');\r\n  }\r\n\r\n  emitCancelEvent() {\r\n    console.log('emitting cancel event')\r\n    this.cancel.emit('');\r\n  }\r\n`\r\n\r\n* **Angular version:** 6.0.3\r\n\r\n* **PrimeNG version:** 6.1.4\r\n\r\n* **Language:**  TypeScript 2.7.2\r\n"}}
{"actor":{"display_login":"sharma-sahil"}}