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

Add support for MockInteractions on touch-only devices #41

Open
dfreedm opened this issue Jan 29, 2016 · 3 comments
Open

Add support for MockInteractions on touch-only devices #41

dfreedm opened this issue Jan 29, 2016 · 3 comments

Comments

@dfreedm
Copy link
Contributor

dfreedm commented Jan 29, 2016

MockInteractions will fail to create any gestures on an iOS or Android device because Polymer Gestures do not listen for mouse events on those platforms.

MockInteractions should create touchevents in those instances.

@dfreedm
Copy link
Contributor Author

dfreedm commented Jan 29, 2016

@cdata Don't know if/when I can get around to this. Maybe a good first bug as well?

@dfreedm
Copy link
Contributor Author

dfreedm commented Jan 29, 2016

New in Chrome 48 are TouchEvent constructors: https://w3c.github.io/touch-events/#touchevent-interface, https://output.jsbin.com/lohuwa

@dfreedm
Copy link
Contributor Author

dfreedm commented Jan 29, 2016

Might have to fallback in other browsers to something like https://gist.github.com/basecss/8666646

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

1 participant