0
我在我的應用程序中使用iscroll4。我在使用iScroll時遇到問題,使得下拉列表(組合框)在同一時間使用時無法使用。 我想他們在這裏 (http://groups.google.com/group/iscroll/browse_thread/thread/5b2fbad6aa667907#)如何提到組合框加載後不工作/使用iscroll頁面
$(document).ready(function() {
var destinations_scroll, accounts_scroll;
function loadingIscroll() {
accounts_scroll = new iScroll('accounts_container');
destinations_scroll = new iScroll('destinations_container', {
checkDOMChanges: true
});
setTimeout(function() {
destinations_scroll.refresh();
}, 0);
}
document.addEventListener('touchmove', function(e) {
if (e.target.tagName != "SELECT") {
e.preventDefault();
e.stopPropagation();
}
}, false);
addEventListener('DOMContentLoaded', loadingIscroll, false);
});
但還是選擇框(組合框/下拉)無法正常工作。有什麼建議麼?