{"action":"created","issue":{"url":"https://api.github.com/repos/ionic-team/ionic/issues/12587","repository_url":"https://api.github.com/repos/ionic-team/ionic","labels_url":"https://api.github.com/repos/ionic-team/ionic/issues/12587/labels{/name}","comments_url":"https://api.github.com/repos/ionic-team/ionic/issues/12587/comments","events_url":"https://api.github.com/repos/ionic-team/ionic/issues/12587/events","html_url":"https://github.com/ionic-team/ionic/issues/12587","id":248174460,"number":12587,"title":"(panend) is never triggered when intercepted by <ion-content> as a view scroll","user":{"login":"PAFsec","id":5889031,"avatar_url":"https://avatars0.githubusercontent.com/u/5889031?v=4","gravatar_id":"","url":"https://api.github.com/users/PAFsec","html_url":"https://github.com/PAFsec","followers_url":"https://api.github.com/users/PAFsec/followers","following_url":"https://api.github.com/users/PAFsec/following{/other_user}","gists_url":"https://api.github.com/users/PAFsec/gists{/gist_id}","starred_url":"https://api.github.com/users/PAFsec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PAFsec/subscriptions","organizations_url":"https://api.github.com/users/PAFsec/orgs","repos_url":"https://api.github.com/users/PAFsec/repos","events_url":"https://api.github.com/users/PAFsec/events{/privacy}","received_events_url":"https://api.github.com/users/PAFsec/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-05T09:19:57Z","updated_at":"2017-08-07T15:38:39Z","closed_at":null,"body":"**Ionic version:**  (check one with \"x\")\r\n[ ] **1.x** (For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)\r\n[ ] **2.x**\r\n[X] **3.x**\r\n\r\n**I'm submitting a ...**  (check one with \"x\")\r\n[X] bug report\r\n[ ] feature request\r\n[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/\r\n\r\n**Current behavior:**\r\nWhile triggering a pan event over a <div> present inside a <ion-content> that allows scrolling, the events (panstart) and (pan) are triggered and it gets hooked by the <ion-content> that makes the view scroll. Tha behavior is perfectly normal, except that the (panend) event is never triggered for the <div> element.   \r\n\r\n**Expected behavior:**\r\nThe (panend) event should be triggered as we are not \"panning\" on the element, but in the <ion-content>, as we are scrolling in the view\r\n\r\n**Steps to reproduce:**\r\n1) start panning up on the div element\r\n2) (panstart) and (pan) are triggered\r\n3) the ion-view can't scroll up (as we are already at the top)\r\n4) release the \"pan\"\r\n5) (panend) is never triggered.\r\n                   \r\n**Related code:**\r\n\r\n```\r\n<ion-content>\r\n    <ul>\r\n        <li *ngFor=\"let el of elements\">\r\n            <div class=\"ElementGo\">\r\n                <div class=\"ElementIn\" (panstart)=\"dragStart($event)\" (pan)=\"dragging($event)\" (panend)=\"dragEnd(el)\" >\r\n                </div>\r\n             </div>\r\n        </li>\r\n    </ul>\r\n</ion-content>\r\n```\r\n\r\n**Ionic info:** :\r\n\r\n```\r\ncli packages:\r\n\r\n    @ionic/cli-plugin-cordova       : 1.6.1\r\n    @ionic/cli-plugin-ionic-angular : 1.4.1\r\n    @ionic/cli-utils                : 1.7.0\r\n    ionic (Ionic CLI)               : 3.7.0\r\n\r\nglobal packages:\r\n\r\n    Cordova CLI : 7.0.1 \r\n\r\nlocal packages:\r\n\r\n    @ionic/app-scripts : 2.1.3\r\n    Cordova Platforms  : android 6.2.3 browser 4.1.0 ios 4.4.0\r\n    Ionic Framework    : ionic-angular 3.6.0\r\n\r\nSystem:\r\n\r\n    Android SDK Tools : 25.2.5\r\n    Node              : v8.2.1\r\n    OS                : Linux 4.8\r\n    npm               : 5.3.0 \r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ionic-team/ionic/issues/comments/320698824","html_url":"https://github.com/ionic-team/ionic/issues/12587#issuecomment-320698824","issue_url":"https://api.github.com/repos/ionic-team/ionic/issues/12587","id":320698824,"user":{"login":"jgw96","id":8823093,"avatar_url":"https://avatars3.githubusercontent.com/u/8823093?v=4","gravatar_id":"","url":"https://api.github.com/users/jgw96","html_url":"https://github.com/jgw96","followers_url":"https://api.github.com/users/jgw96/followers","following_url":"https://api.github.com/users/jgw96/following{/other_user}","gists_url":"https://api.github.com/users/jgw96/gists{/gist_id}","starred_url":"https://api.github.com/users/jgw96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgw96/subscriptions","organizations_url":"https://api.github.com/users/jgw96/orgs","repos_url":"https://api.github.com/users/jgw96/repos","events_url":"https://api.github.com/users/jgw96/events{/privacy}","received_events_url":"https://api.github.com/users/jgw96/received_events","type":"User","site_admin":false},"created_at":"2017-08-07T15:38:39Z","updated_at":"2017-08-07T15:38:39Z","body":"Thanks for opening an issue with us, we will look into this."}}
{"actor":{"display_login":"jgw96"}}