The first thing I started to do with Meteor was start writing a touch-based web application for mobile/tablets. Here's how you reproduce the problem:
First step: create a blank project
meteor create touch_example
cd touch_example
meteor
Second, add these things to the .js file This first bit spits out an alert for touch devices and because they have no console.
Meteor.log = function(input){
if (typeof console !== 'undefined' && typeof Touch !== "object")
console.log(input);
else
alert(input);
}
And here's the culprit.
Template.touchbox.events = {
'touchmove' : function (e){
e.preventDefault();
Meteor.log('touchy');
}
};
Last step, change the template around so there's at least one "touchbox" div on the page. IN theory, it should be taking the events. You'll notice that if you change 'touchmove' to 'click' that it works just fine. If you change it to dblclick
it will also work fine. Touch events don't do anything.