Skip to content

Conversation

midiusRed
Copy link
Contributor

  1. Emulating the absence of a PointerEvent:
    window.PointerEvent = null;

  2. We created the sprite in eventMode = 'dynamic'

  3. We get an exception, because the Event Timer creates a PointerEvent

Copy link

codesandbox-ci bot commented Jan 21, 2025

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Copy link
Member

@bigtimebuddy bigtimebuddy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. Also, a test for this would be great!

@bigtimebuddy bigtimebuddy requested a review from Zyie January 21, 2025 14:48
@Zyie Zyie changed the title EventTicker._update no PointerEvent case fix: events firing PointerEvent when not supported Jan 29, 2025
@Zyie Zyie added the ✅ Ready To Merge Helpful when issues are in the queue waiting to get merged. This means the PR is completed and has t label Jun 3, 2025
@Zyie Zyie added this pull request to the merge queue Jun 3, 2025
Merged via the queue into pixijs:dev with commit 4c0fa2c Jun 3, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✅ Ready To Merge Helpful when issues are in the queue waiting to get merged. This means the PR is completed and has t
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants