Mobile Meteor移动web应用触摸支持
我有一个Meteor应用程序在移动浏览器上出现问题。我使用的是autocomplete软件包(meteor autocomplete),但我无法选择使用touch下拉的autocomplete选项。当我点击选项时,它可以在桌面浏览器上正常工作。有什么问题吗?另外,如何修改移动浏览器的应用程序(演示文稿等) 谢谢 编辑: 以下是html模板代码:Mobile Meteor移动web应用触摸支持,mobile,browser,meteor,Mobile,Browser,Meteor,我有一个Meteor应用程序在移动浏览器上出现问题。我使用的是autocomplete软件包(meteor autocomplete),但我无法选择使用touch下拉的autocomplete选项。当我点击选项时,它可以在桌面浏览器上正常工作。有什么问题吗?另外,如何修改移动浏览器的应用程序(演示文稿等) 谢谢 编辑: 以下是html模板代码: <template name="form"> {{> inputAutocomplete settings=settings id="
<template name="form">
{{> inputAutocomplete settings=settings id="food" class="form-control" name="food" placeholder="e.g. Chicken Pot Pie"}}
</template>
记录集合保存自动完成所使用的所有条目。请共享允许我们重现错误的(最小)代码。谢谢。我把代码添加到帖子里了
Template.form.helpers({
settings: function() {
return {
position: "bottom",
limit: 5,
rules:
[
{
collection: Records,
field: 'food',
matchAll: true,
template: Template.foodFill
}
]
};
},
records: function() {
return Records.find().fetch();
}
});