Skip to content

Touch moving event still fires when moving outside of canvas at mobile device #5592

@rexrainbow

Description

@rexrainbow

Version

  • Phaser Version: 3.52.0

  • Operating system: ipad

  • Browser: safari

Description

Run this test at

A. Desktop chrome browser, with mouse moving
1. pointer-down start from canvas
2. dragging mouse cursor outside of canvas
Result: The 'pointermove' event will be fired started from dragging inside canvas, stopped when mouse cursor is outside of canvas. i.e. value of eventCounter won't be increasing

B. ipad safari browser, with touching and the same steps
Result: The 'pointermove' event will be still fired when touching dragging outside of canvas. value of eventCounter is increasing all times.

The trigger logic of 'pointermove' event seem not the same between mouse input and touch input.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions