移动设备上的SemanticUI滚动下拉列表

时间:2017-03-10 22:03:54

标签: javascript jquery html dropdown semantic-ui

滚动页面时,我遇到了Semantic-UI的问题。如果我开始滚动并触摸下拉列表,则会显示整个内容。

我只想在点击它时打开下拉列表,甚至我的手指都没有通过它。

尝试在移动设备上滚动此页面:http://semantic-ui.com/modules/dropdown.html

1 个答案:

答案 0 :(得分:0)

只需取消绑定 touchstart 事件,例如:

    $('.ui.dropdown').unbind('touchstart');