Skip to content
This repository was archived by the owner on Feb 11, 2021. It is now read-only.

Fix touchEvent support for touch-action #117

Merged
merged 2 commits into from
Dec 31, 2013
Merged

Conversation

RByers
Copy link

@RByers RByers commented Dec 31, 2013

Change HAS_TOUCH_ACTION to HAS_TOUCH_ACTION_DELAY. Even with touch-action we should still avoid unnecessary touch handlers. It's only with touch-action-delay: none that we can be sure our handlers won't delay threaded scrolling.

This works around #116 for now without actually solving it completely.

RByers added 2 commits December 30, 2013 20:35
Change HAS_TOUCH_ACTION to HAS_TOUCH_ACTION_DELAY.  Even with touch-action we should still avoid unnecessary touch handlers.  It's only with touch-action-delay: none that we can be sure our handlers won't delay threaded scrolling.

This works around jquery-archive#116 for now without actually solving it completely.
Chrome 33 has a bug where the CSS OM objects exist for touchActionDelay even though parsing will always fail for them, so we'd incorrectly believe support was present.  Let's wait until there's actually a Chrome build to test before trying to enable a touch-action-delay fast-path.
@dfreedm
Copy link
Contributor

dfreedm commented Dec 31, 2013

LGTM.

dfreedm added a commit that referenced this pull request Dec 31, 2013
Fix touchEvent support for touch-action
@dfreedm dfreedm merged commit 5b59005 into jquery-archive:master Dec 31, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants