Version
v3.70.0 or less
Windows11, Ubuntu 22.04
Google Chrome 120.0.6099.129
Touch device or Touch device emulator of Chrome dev tools
Description
When an HTML element overlaps the Canvas tag due to styles like 'position: absolute', the GameObject's pointer events are executed multiple times.
Example Test Code
Demo:
https://codepen.io/laineus/pen/RwdNNgJ
Additional Information
I believe this issue becomes problematic when using Phaser and HTML together to create a user interface.
Thank you.
Version
v3.70.0 or less
Windows11, Ubuntu 22.04
Google Chrome 120.0.6099.129
Touch device or Touch device emulator of Chrome dev tools
Description
When an HTML element overlaps the Canvas tag due to styles like 'position: absolute', the GameObject's pointer events are executed multiple times.
Example Test Code
Demo:
https://codepen.io/laineus/pen/RwdNNgJ
Additional Information
I believe this issue becomes problematic when using Phaser and HTML together to create a user interface.
Thank you.