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

no primary events on iOS #4

Closed
robx opened this issue Dec 4, 2017 · 2 comments
Closed

no primary events on iOS #4

robx opened this issue Dec 4, 2017 · 2 comments

Comments

@robx
Copy link
Contributor

robx commented Dec 4, 2017

This was initially reported to the demo project: mpizenberg-archived/demo-elm-image-annotation#1. I've since narrowed the issue down a bit.

Serving the code at https://ellie-app.com/993kLCWvga1/0 locally and testing with iOS, it turns out that touch.identifier is a "random" large integer, so the primary detection based on identifer == 0 does not work.

It seems that to do this correctly, it would be necessary to keep some state. (E.g. for a sequence finger-1-down finger-2-down finger-1-up finger-2-up.)

@robx
Copy link
Contributor Author

robx commented Dec 5, 2017

I'm not that sure of my diagnostic anymore, compare PR #5. It seems that the missing movement{X,Y} is the more immediate bug.

@mpizenberg
Copy link
Owner

Ok thanks, I will continue conversation in PR #5.

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

No branches or pull requests

2 participants