Sign in to follow this  
phamedev

Phaser Button Click/Touch and Cancel problem

Recommended Posts

Generally when you click or tap a button on mobile devices and then don't do mouse-up or lift touch on the same button and do it elsewhere the action is cancelled.

But the Phaser buttons don't behave like that. Do the mouse-down on the button, drag and do the mouse-up outside the button, the button-click is still triggered.

Is there a way to fix/change that behaviour?

PS: I just tested that when you use the event.onInputUp on sprite etc, it is still fired when the onInputUp happens outside the object.

Share this post


Link to post
Share on other sites
On 10/5/2017 at 9:38 PM, samme said:

How can we help more people find the docs? :)

I think you guys are doing a great job already. It's just people like me coming from different backgrounds with old habits sometimes look at wrong places.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.