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

[0.9] touch track fails on iPhone, .touchIdentifier vs .identifier #1496

Closed
IntranetFactory opened this issue May 7, 2015 · 1 comment
Closed

Comments

@IntranetFactory
Copy link

In my tests ev.changedTouches[0].touchIdentifier in https://github.com/Polymer/polymer/blob/0.8-preview/src/standard/gestures.html#L133 is always undefined

But it seems that ev.changedTouches[0].identifier returns the expected 'finger'.

This causes for me that touch doesn't trigger any track events for me both on iOS and Chrome.

Wondering if I'm doing anything wrong?

@IntranetFactory
Copy link
Author

Still fails after 324272e from @azakus

When I remove the return (https://github.com/Polymer/polymer/blob/0.8-preview/src/standard/gestures.html#L134) tracking works (but not filtered by "first" finger any longer).

Is this a known bug? Should touchIdentifier exist on Safari and Chrome ?

@IntranetFactory IntranetFactory changed the title [0.9] new gestures .touchIdentifier vs .identifier [0.9] touch track fails on iPhone, .touchIdentifier vs .identifier May 12, 2015
dfreedm added a commit that referenced this issue May 12, 2015
- Allows for "sloppy" taps
- 5px for now
- Fixes #1496 [0.9] touch track fails on iPhone, .touchIdentifier vs .identifier
- Fixes a bug with "nested" event listeners with touch events
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

1 participant