I have a blank ionic project and added phaser to it. I added the below code to phaser’s create()
this.input.on(‘pointerup’, ()=>…);
However, the callback function is not triggered for some reason. It does triggered for ‘pointerupoutside’ though! Moreover, I can also have the images listen for clicks and they also receive the pointerup event.
I believe there is some sort of conflict with the ionic platform as the click on scene is recognized as a click outside of it. I could not work it out as the sample code works just fine without ionic.
Has anyone experienced a similar issue?