Jump to content

Phaser Button Click/Touch and Cancel problem


phamedev
 Share

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.

Link to comment
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.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...