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

Fix 2048 on desktop browsers #909

Closed
wants to merge 1 commit into from

Conversation

philipp-spiess
Copy link
Contributor

One thing I found out while working on #908 this is that the 2048 game demo does not work on browsers since it listens for touch events only.

This can be solved by listening to both mouse and touch events - or perhaps there is a more RNW idiomatic way of solving this?

One thing I found out while working on necolas#908 this is that the 2048 game
demo does not work on browsers since it listens for touch events only.
This can be solved by listening to both mouse and touch events.
@necolas
Copy link
Owner

necolas commented Apr 21, 2018

Yeah this was just copy pasted from RN. Probably worth fixing

@necolas necolas closed this in 38affa9 Apr 21, 2018
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