phaser icon indicating copy to clipboard operation
phaser copied to clipboard

Buttons don't stay in hover state after a click

Open nesheroj opened this issue 12 years ago • 5 comments

Browsers: Chrome 38, Firefox 32 , Internet Explorer 11. (Slightly different outcomes, but issues in all of them) Lowest version affected: 2.0.1 (tested in the examples site) Repro: [http://examples.phaser.io/_site/view_full.html?d=buttons&f=button+using+texture+atlas.js&t=button%20using%20texture%20atlas]

Description (debugging with chrome 38 on phaser v2.1.2) After clicking a button, without moving the mouse, the frame is correctly set to hover state (forceOut is false, isOver is true) but just afterwards a onInputOut event is produced leaving the button on out state until any movement is done.

nesheroj avatar Oct 23 '14 10:10 nesheroj

Please test the latest dev build.

photonstorm avatar Nov 13 '14 13:11 photonstorm

Works in 2.2.0-RC5 using Chrome, will edit this comment with further results

nesheroj avatar Nov 13 '14 16:11 nesheroj

Awesome.. please post any further findings as new comments, I don't think I get emails about edits. Thanks :)

photonstorm avatar Nov 13 '14 16:11 photonstorm

Internet Explorer and firefox worked flawlessly too, had to revert to 2.1.3 due to some tweens I do to the camera not working. Is this known?

nesheroj avatar Nov 14 '14 11:11 nesheroj

@nesukun Create a new issue if running into such a regression - 2.2 is where the party's gonna be, but my :8ball: is pretty lousy without assistance.

pnstickne avatar Nov 28 '14 12:11 pnstickne