{"action":"created","issue":{"url":"https://api.github.com/repos/photonstorm/phaser/issues/1932","labels_url":"https://api.github.com/repos/photonstorm/phaser/issues/1932/labels{/name}","comments_url":"https://api.github.com/repos/photonstorm/phaser/issues/1932/comments","events_url":"https://api.github.com/repos/photonstorm/phaser/issues/1932/events","html_url":"https://github.com/photonstorm/phaser/issues/1932","id":97022569,"number":1932,"title":"[2.4] Button callback doesn't trigger on click","user":{"login":"Chris-Carvelli","id":6161432,"avatar_url":"https://avatars.githubusercontent.com/u/6161432?v=3","gravatar_id":"","url":"https://api.github.com/users/Chris-Carvelli","html_url":"https://github.com/Chris-Carvelli","followers_url":"https://api.github.com/users/Chris-Carvelli/followers","following_url":"https://api.github.com/users/Chris-Carvelli/following{/other_user}","gists_url":"https://api.github.com/users/Chris-Carvelli/gists{/gist_id}","starred_url":"https://api.github.com/users/Chris-Carvelli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chris-Carvelli/subscriptions","organizations_url":"https://api.github.com/users/Chris-Carvelli/orgs","repos_url":"https://api.github.com/users/Chris-Carvelli/repos","events_url":"https://api.github.com/users/Chris-Carvelli/events{/privacy}","received_events_url":"https://api.github.com/users/Chris-Carvelli/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/photonstorm/phaser/labels/user%20to%20test","name":"user to test","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-07-24T10:29:25Z","updated_at":"2015-07-27T14:34:48Z","closed_at":null,"body":"In 2.4.0, the button callback doesn't trigger on mouse click. With phone touch works fine (and the same code works under 2.3). Maybe related to the changes to Input.Mouse?\r\n\r\nCode (trivial, but you never knows...):\r\n```javascript\r\nvar aButton = this.add.button(400, 300, 'aButton', function() {\r\n\t\t\tconsole.log('aButtonCallback');\r\n                        //do stuffs\r\n\t\t}, this);\r\n```"},"comment":{"url":"https://api.github.com/repos/photonstorm/phaser/issues/comments/125226935","html_url":"https://github.com/photonstorm/phaser/issues/1932#issuecomment-125226935","issue_url":"https://api.github.com/repos/photonstorm/phaser/issues/1932","id":125226935,"user":{"login":"Chris-Carvelli","id":6161432,"avatar_url":"https://avatars.githubusercontent.com/u/6161432?v=3","gravatar_id":"","url":"https://api.github.com/users/Chris-Carvelli","html_url":"https://github.com/Chris-Carvelli","followers_url":"https://api.github.com/users/Chris-Carvelli/followers","following_url":"https://api.github.com/users/Chris-Carvelli/following{/other_user}","gists_url":"https://api.github.com/users/Chris-Carvelli/gists{/gist_id}","starred_url":"https://api.github.com/users/Chris-Carvelli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chris-Carvelli/subscriptions","organizations_url":"https://api.github.com/users/Chris-Carvelli/orgs","repos_url":"https://api.github.com/users/Chris-Carvelli/repos","events_url":"https://api.github.com/users/Chris-Carvelli/events{/privacy}","received_events_url":"https://api.github.com/users/Chris-Carvelli/received_events","type":"User","site_admin":false},"created_at":"2015-07-27T14:34:48Z","updated_at":"2015-07-27T14:34:48Z","body":"v2.4.2 \"Altara\" - Built: Mon Jul 27 2015 13:35:06\r\n\r\nWorks for Linux Mint and Chrome. Same problem as before for firefox (39.0, up to date). First click detected but callback not executed, onReleaseHandler doesn't set the pointerData.isDown to false and the following clicks are ignored bu the touchedHandler"}}