Skip to content

Click Trampolines - support to trampoline pointer events into 'click' events #1282

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

Merged
merged 3 commits into from
Nov 2, 2014

Conversation

pnstickne
Copy link
Contributor

  • This is needed to support Fullscreen on IE11 because IE only trusts 'click' events for this operation; click trampolines as a general solution, although they are only required in some "special" cases.

This implementation is designed around the idea that click-trampolines are rare; the 'click' handler installed is for trampolining, but could be adapted to be registered/deregistered when click trampolines were added.

This works to fix #1281

… events

- This is needed to support Fullscreen on IE11 because IE only trusts 'click' events for this operation; click trampolines as a general solution, although they are only required in some "special" cases.
photonstorm added a commit that referenced this pull request Nov 2, 2014
Click Trampolines - support to trampoline pointer events into 'click' events
@photonstorm photonstorm merged commit 21a47fa into phaserjs:dev Nov 2, 2014
photonstorm added a commit that referenced this pull request Nov 2, 2014
… These raise pointer events into click events, which are required internally for a few edge cases like IE11 full screen mode support, but are also useful if you know you specifically need a DOM click event from a pointer (thanks @pnstickne #1282)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants