Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pointer-out bug #5867

Closed
rexrainbow opened this issue Oct 13, 2021 · 1 comment
Closed

Pointer-out bug #5867

rexrainbow opened this issue Oct 13, 2021 · 1 comment

Comments

@rexrainbow
Copy link
Contributor

rexrainbow commented Oct 13, 2021

Version

  • Phaser Version: 3.60.0, or previous
  • Operating system: win10
  • Browser: chrome, firefox

Description

See this test

  • scene.input.topOnly sets to false,
  • When touch pointer moves out of canvas, 2 game objects are picked,
  • In sortGameObjects method, pointer.camera is undefined -> Uncaught TypeError: Cannot read properties of undefined (reading 'renderList')

This bug won't occur when only 1 game object is pointer-out

@rexrainbow rexrainbow changed the title Pointer-over bug Pointer-out bug Oct 13, 2021
@photonstorm
Copy link
Collaborator

Thank you for submitting this issue. We have fixed this and the fix has been pushed to the master branch. It will be part of the next release. If you get time to build and test it for yourself we would appreciate that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants