Well this is unfortunate. :-/ But your plan seems pragmatic. We can help with the outreach and possibly identifying additional affected sites. Rick, would you like to coordinate on that or do you think hearing it independently from both browser vendors is a good thing J?
FYI – also be on the lookout for old versions of YUI (less than v3.12.0) that had a similar issue when using their draggable control. Though I believe we’ve successfully outreached to all the known affected sites.
-Jacob
Well this is unfortunate. :-/ But your plan seems pragmatic. We can help with the outreach and possibly identifying additional affected sites. Rick, would you like to coordinate on that or do you think hearing it independently from both browser vendors is a good thing J?
FYI – also be on the lookout for old versions of YUI (less than v3.12.0) that had a similar issue when using their draggable control. Though I believe we’ve successfully outreached to all the known affected sites.
> Thanks Jacob! I'd love to co-ordinate on that - I don't think we have anywhere near the expertise at this sort of outreach as you do (I've just been submitting support requests myself using 'contact us' forms on the website). I think it's fine (even preferable) to divide and conquer here (chance are if they're unresponsive to one of us, they'll be unresponsive to both too). We can each mention that it effects IE, Chrome and soon Firefox. We found some sites just disable hammer on IE so those you'll probably want to leave to us.
K – I’ll follow up with you directly on how we can tag team this. We’re interested in the sites that disable hammer too as that probably means we’re getting a degraded touch experience.
> Thanks for the heads up! Man it's great to be working towards the same goals <grin>. Mozilla owes us both a beer here - they're going to have it easy by the time they ship touch-action...
If you’re nice, maybe mbrubeck will send you a delicious cake. Perhaps some beer should go to the site owners as an incentive to fix their code. :-D
Thanks, Jorik, for jumping in and working on a fix! The pan-y default seems like a reasonable stop gap solution. I’ll see what we can do to help advertise this out to web devs once the fix is in place.
Longer term, have you considered trying to determine the appropriate value per element based on the gesture(s) registered for? For example:
Hammer(el).on("swipeleft", function() {
//In this case, touch-action: pan-y; is probably best
});
Hammer(el).on("swiperight", function() {
//In this case, touch-action: pan-x; is probably best
});
This might be a little tricky when multiple gestures are combined on the same element (you need to determine the configuration that allows all the gestures listened to). But that should be doable and I can help work through it with you if you like. I’ll paste this into the issue over on GitHub, where we can discuss further.
-Jacob