{"action":"created","issue":{"url":"https://api.github.com/repos/jquery/PEP/issues/275","repository_url":"https://api.github.com/repos/jquery/PEP","labels_url":"https://api.github.com/repos/jquery/PEP/issues/275/labels{/name}","comments_url":"https://api.github.com/repos/jquery/PEP/issues/275/comments","events_url":"https://api.github.com/repos/jquery/PEP/issues/275/events","html_url":"https://github.com/jquery/PEP/issues/275","id":141021308,"number":275,"title":"releasePointerCapture firing InvalidPointerId when it shouldn't?","user":{"login":"patrickhlauke","id":895831,"avatar_url":"https://avatars.githubusercontent.com/u/895831?v=3","gravatar_id":"","url":"https://api.github.com/users/patrickhlauke","html_url":"https://github.com/patrickhlauke","followers_url":"https://api.github.com/users/patrickhlauke/followers","following_url":"https://api.github.com/users/patrickhlauke/following{/other_user}","gists_url":"https://api.github.com/users/patrickhlauke/gists{/gist_id}","starred_url":"https://api.github.com/users/patrickhlauke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrickhlauke/subscriptions","organizations_url":"https://api.github.com/users/patrickhlauke/orgs","repos_url":"https://api.github.com/users/patrickhlauke/repos","events_url":"https://api.github.com/users/patrickhlauke/events{/privacy}","received_events_url":"https://api.github.com/users/patrickhlauke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-03-15T16:06:39Z","updated_at":"2016-04-21T16:14:37Z","closed_at":null,"body":"Not sure if it's my (admittedly horrible) code, but: see https://jsfiddle.net/dbjvwcz1/ in Edge and then in, say, Chrome. despite `e.pointerId` being correct (the same as when `setPointerCapture` was called), `releasePointerCapture` throws `Uncaught Error: InvalidPointerId`\r\n\r\n(I see that simply omitting the `releasePointerCapture` in my hacky code actually makes it work just fine, and is ok as per spec since the UA should automatically release any captured pointers anyway on `pointerup`/`pointercancel` ... but still, this does seem to point to some issue in the `releasePointerCapture` code)"},"comment":{"url":"https://api.github.com/repos/jquery/PEP/issues/comments/212991095","html_url":"https://github.com/jquery/PEP/issues/275#issuecomment-212991095","issue_url":"https://api.github.com/repos/jquery/PEP/issues/275","id":212991095,"user":{"login":"scottgonzalez","id":141167,"avatar_url":"https://avatars.githubusercontent.com/u/141167?v=3","gravatar_id":"","url":"https://api.github.com/users/scottgonzalez","html_url":"https://github.com/scottgonzalez","followers_url":"https://api.github.com/users/scottgonzalez/followers","following_url":"https://api.github.com/users/scottgonzalez/following{/other_user}","gists_url":"https://api.github.com/users/scottgonzalez/gists{/gist_id}","starred_url":"https://api.github.com/users/scottgonzalez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottgonzalez/subscriptions","organizations_url":"https://api.github.com/users/scottgonzalez/orgs","repos_url":"https://api.github.com/users/scottgonzalez/repos","events_url":"https://api.github.com/users/scottgonzalez/events{/privacy}","received_events_url":"https://api.github.com/users/scottgonzalez/received_events","type":"User","site_admin":false},"created_at":"2016-04-21T16:14:37Z","updated_at":"2016-04-21T16:14:37Z","body":"The other thing we need to handle is calling `setPointerCapture()` on a mouse when no buttons are being pressed. This should not throw an error because the pointer is active, but it should also not actually set capture since the pointer is not in an active buttons state."}}